Ver Mensaje Individual
  #7 (permalink)  
Antiguo 24/05/2011, 08:56
Avatar de Heimish2000
Heimish2000
 
Fecha de Ingreso: enero-2011
Ubicación: Madrid
Mensajes: 844
Antigüedad: 14 años
Puntos: 89
Respuesta: consultilla...

Prueba esta query y me cuentas:

Código MySQL:
Ver original
  1. SELECT t1.enmpresa, t2.facturacion
  2. FROM Tabla1 t1
  3. (SELECT id_t1, facturacion
  4. FROM Tabla2
  5. WHERE ejercicio = 2009) AS t2 ON
  6. t1.id = t2.id_t1