![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
28/05/2004, 00:11
|
![Avatar de sism82](http://static.forosdelweb.com/customavatars/avatar44724_1.gif) | | | Fecha de Ingreso: octubre-2003 Ubicación: Guadalajara
Mensajes: 865
Antigüedad: 21 años, 3 meses Puntos: 1 | |
a ver creo que encontré una mejor solución... ya la probé
"SELECT t.* FROM tservicios t LEFT JOIN servempresa s
ON t.cveservi = s.cveservi AND s.cveempresa = '".$selectempresa."' WHERE s.cveservi IS NULL";
saludos y suerte |