Ver Mensaje Individual
  #2 (permalink)  
Antiguo 23/09/2014, 16:20
Avatar de Libras
Libras
Colaborador
 
Fecha de Ingreso: agosto-2006
Ubicación: En la hermosa perla de occidente
Mensajes: 7.412
Antigüedad: 17 años, 8 meses
Puntos: 774
Respuesta: Seleccionar Combinacion especifica

Código SQL:
Ver original
  1. SELECT * FROM tabla1 AS t1
  2. LEFT JOIN tabla2 AS t2 ON (t1.UnidadId =t2.unidadid AND t1.FuenteId=t2.fuenteid)
  3. WHERE t1.unidadid=1 AND t1.fuenteid=1
__________________
What does an execution plan say to t-sql query? Go f**k yourself, if you are not happy with me