
01/03/2005, 10:36
|
 | | | Fecha de Ingreso: diciembre-2002 Ubicación: Chapinlandia :-D
Mensajes: 725
Antigüedad: 22 años, 3 meses Puntos: 11 | |
este te dice cuantos registros en clientes no estan en delegaciones
select count(id_cliente) from clientes where cliente_cliente not in (select cliente_Delegacion from delegaciones)
y esto te dice cuales son
select * from clientes where cliente_cliente not in (select cliente_Delegacion from delegaciones)
Saludos |