Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Help of query
Hi all,
Here is a table structure,
Cource_table
Test Data...........
ID --End_Cource_date-----Teacher_id
1 ---1/1/2003------------T100 2----2/2/2003------------T100 3----1/2/2003------------T100 4----Null----------------T100 5----2/1/2003------------T101 6----3/1/2003------------T101 7----4/1/2003------------T101 8----2/1/2003------------T101
I want to get the latest two ids corresponding to each teacher.If the date is null, Thats the latest date.
Please help
Thanks
Shafeek Khalidh
Received on Wed Jul 30 2003 - 20:14:55 CDT
![]() |
![]() |