Ver Mensaje Individual
  #4 (permalink)  
Antiguo 21/05/2009, 13:54
Avatar de huesos52
huesos52
Colaborador
 
Fecha de Ingreso: febrero-2009
Ubicación: Manizales - Colombia
Mensajes: 5.980
Antigüedad: 15 años, 2 meses
Puntos: 360
Respuesta: Relacionar Tablas con select from where

Prueba esto:

select usuarios.*, historial.* FROM historial INNER JOIN usuarios on usuarios.nick = historial.nick WHERE usuarios.nick = "TU_VARIABLE";

Un saludo.
__________________
Without data, You are another person with an opinion.
W. Edwads Deming