
13/07/2009, 10:03
|
 | Colaborador | | Fecha de Ingreso: febrero-2009 Ubicación: Manizales - Colombia
Mensajes: 5.980
Antigüedad: 16 años, 1 mes Puntos: 360 | |
Respuesta: Excluir informacion si dato esta en dos tablas?
Código sql:
Ver originalSELECT SUM(valor) FROM Tabla1 WHERE id_cliente NOT IN(SELECT id_cliente FROM tabla2)
te sirve esta?
__________________ Without data, You are another person with an opinion.
W. Edwads Deming |