Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> SQL riddle !
I have a table which looks like this :
NUM_CONTACT DATE_CRE NUM_PROJECT
----------- -------- -----------
1 05/04/00
1
2 06/04/00
1
3 07/04/00
2
and i want to know the num_contact of the oldest contact of each project.
Of course, i can't do that :
select min(date_cre),num_contact from contacts
group by num_project;
Is thereanyone who can help me ?
Thanx
Oli ALLAIN Received on Fri Apr 07 2000 - 12:08:45 CDT
![]() |
![]() |