
11/08/2008, 22:32
|
| | Fecha de Ingreso: marzo-2008
Mensajes: 10
Antigüedad: 17 años Puntos: 0 | |
Respuesta: consulta con dos tablas y multiples resultados Prueba con esto
select
f.*,h.userid as fuser, h.id as hid
from files_prj3 f inner join history_prj3 h on f.id = h.fileid
where
having hid = min(h.id) |