
31/01/2009, 05:14
|
| | Fecha de Ingreso: febrero-2007
Mensajes: 1.292
Antigüedad: 18 años Puntos: 13 | |
Respuesta: sacar datos de dos tablas
Código:
select *
from peticiones
where activo
and id_peticion not in (select id_peticion from peticiones where id_candidato = X)
Salu2 |