Ver Mensaje Individual
  #3 (permalink)  
Antiguo 08/05/2009, 03:13
tokero
 
Fecha de Ingreso: abril-2009
Ubicación: Vitoria
Mensajes: 160
Antigüedad: 15 años
Puntos: 1
Respuesta: Sentencia SQL

Me da un error... estoy poniendo la sintaxis mal o algo pasa pero... todo el rato lo mismo, y con las sentencias que estoy haciendo de prueba lo mismo!!!

Código SQL:
Ver original
  1. SELECT * FROM relation rt JOIN study st ON rt.IDR_Study = st.ID_Study JOIN school sh ON rt.IDR_School = sh.ID_School JOIN student su ON rt.IDR_Student = su.ID


You have an error in your SQL syntax near
'ON rt.IDR_Study = st.ID_Study JOIN school sh ON rt.IDR_School = sh.ID_School JOI' at line 1