I have a table :
ID | time
1 | 124124244
2 | 211313112
3 | 131334334
I want to get row of max(time).
I tried like this:
select ID,max(time) from T;
Although it gave correct max(time), but ID given was always 1. I can’t get that whole row.
How can I do it ?
1 Answer