Ver Mensaje Individual
  #2 (permalink)  
Antiguo 28/02/2012, 02:55
Avatar de repara2
repara2
 
Fecha de Ingreso: septiembre-2010
Ubicación: München
Mensajes: 2.445
Antigüedad: 13 años, 7 meses
Puntos: 331
Respuesta: recuperar datos de un select a 3 tablas

Código MySQL:
Ver original
  1. select F.*, M.*, T.* from fotografias F
  2. left join modelos M ON (F.modelo = M.id)
  3. left join tipofoto T ON (F.tipofoto = T.id)
  4. where ...
  5. and ...
  6. order ...
Un tutorial de SQL te sería de gran ayuda, saludos
__________________
Fere libenter homines, id quod volunt, credunt.