I have a table with two column as :
serial_number
1
2
3
dateOfAppoinement
2011-06-30 00:39:04.130
2011-06-30 00:40:01.130
2011-06-30 00:49:04.130
I want to get the highest serial_number of a day. I have to avoid the time part. I'm just using the date part.
Can anyone tell me how can I do this?