SyntaxFix
Write A Post
Hire A Developer
Questions
For Oracle sorts the result set in descending order and takes the first record, so you will get the latest record:
select * from mytable where rownum = 1 order by date desc