Skip to content
Advertisement

How can I get the 10 most recent rows from a database?

I want to choose an id in a table, sort it by date and show only the 10 newest entries.

I have already tried following command:

Advertisement

Answer

It looks like you want filtering, sorting and limiting:

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement