Ver Mensaje Individual
  #2 (permalink)  
Antiguo 02/04/2012, 18:38
Avatar de truman_truman
truman_truman
 
Fecha de Ingreso: febrero-2010
Ubicación: /home/user
Mensajes: 1.341
Antigüedad: 14 años, 2 meses
Puntos: 177
Respuesta: problema con query

debería ser algo así:

Código SQL:
Ver original
  1. SELECT
  2.  
  3. e.* ,
  4. i.*
  5. FROM estudiantes e
  6.  
  7. JOIN inscritos i ON i.matricula = e.matricula
  8.  
  9. WHERE e.matricula!='$_REQUEST[matricula]' AND e.turno!='$_REQUEST[turno]'
__________________
la la la