MySQL Forums
Forum List  »  Spanish

Re: Consulta complicada
Posted by: William Chiquito
Date: December 03, 2007 08:39PM

Hola Sand,

Trata con:
SELECT p.tarjeta, p.apellido, c.fecha, MIN(c.hora), MAX(c.hora)
FROM personal p
	INNER JOIN cronos c ON p.Tarjeta = c.Tarjeta
GROUP BY p.tarjeta, c.fecha;



Edited 1 time(s). Last edit at 12/03/2007 08:41PM by William Chiquito.

Options: ReplyQuote


Subject
Views
Written By
Posted
3648
December 03, 2007 07:41PM
Re: Consulta complicada
1986
December 03, 2007 08:39PM
1900
December 04, 2007 08:39AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.