Hi i am new in oracle. i am having a problem. i need to collect datewise max time and min time from my table "dailyAtt"
here is the data formate in my table..
ID Code Ptime
1 2570 14/10/2010 1:00 Pm
2 2570 14/10/2010 2:00 Pm
3 2570 15/10/2010 7:00 Am
4 2570 15/10/2010 4:00 Pm
5 2571 14/10/2010 1:00 Pm
6 2571 14/10/2010 1:00 Pm
7 2571 15/10/2010 2:00 Pm
8 2571 17/10/2010 1:00 Pm
i need to show data in this format
Code intime outtime
2570 14/10/2010 1:00 Pm 14/10/2010 2:00 Pm
2570 15/10/2010 7:00 Pm 15/10/2010 4:00 Pm
2571 14/10/2010 1:00 Pm 14/10/2010 1:00 Pm
2571 15/10/2010 2:00 Pm 15/10/2010 2:00 Pm
2571 17/10/2010 1:00 Pm 17/10/2010 1:00 Pm