Sort and fetch the first record
I need to find the earliest date(means the first record when we do a sort by descending) in a table. Is there any way to sort and fetch the first record ? Otherwise, I have to read all the rows and compare the values.
0