smartsunny
IS-IT--Management
Hello,
I am having hard time to solve this query.
I have the data such as following.
SESSION SCHOOL CLASS SESSIONDATE
1 1 1 01-JAN-05
2 1 1 02-JAN-05
3 1 2 03-JAN-05
4 1 2 04-JAN-04
I would like to retrieve school and class of the most recent session.
Output would be something like
SESSION
2
4
What is the best way to solve the above query.
Any help appreciated.
Thanks in advance,
I am having hard time to solve this query.
I have the data such as following.
SESSION SCHOOL CLASS SESSIONDATE
1 1 1 01-JAN-05
2 1 1 02-JAN-05
3 1 2 03-JAN-05
4 1 2 04-JAN-04
I would like to retrieve school and class of the most recent session.
Output would be something like
SESSION
2
4
What is the best way to solve the above query.
Any help appreciated.
Thanks in advance,