Ver Mensaje Individual
  #3 (permalink)  
Antiguo 20/06/2006, 01:55
athenilla
 
Fecha de Ingreso: junio-2006
Mensajes: 3
Antigüedad: 17 años, 10 meses
Puntos: 0
Desacuerdo

me sigue diciendo lo mismo....

Server: Msg 156, Level 15, State 1, Line 7
Incorrect syntax near the keyword 'SELECT'.
Server: Msg 170, Level 15, State 1, Line 8
Line 8: Incorrect syntax near ')'. :(


Cita:
Iniciado por Mithrandir
Prueba:

SELECT A1.APLICACIONID, A1.PERSONAID
FROM
(SELECT APLICACIONID, PERSONAID
FROM APLICACIONES_USUARIO
WHERE PERSONAID = 5) A1
LEFT OUTER JOIN APLICACION
(SELECT ID APLICACIONID, 0 PERSONAID
FROM OSUSR_5NT_APLICACION) A2
ON A2.ID = A1.APLICACIONID