Hi,
I want to pull the latest data from database by checking the latest start_time in my table Exam.
How to code it?
Thanks.
Try something like this:
select MAX(start_time) as LatestDate from Exam
Hope this helps.
hi you can try select top(1) * from mytable order by start_time desc hope will help you
Thanks.. Its work!!