samedi 25 juin 2016

Reverse initial order of SELECT statement

I want to run a SQL query in Postgres that is exactly the reverse of the one that you'd get by just running the initial query without an order by clause. So if your query was: SELECT * FROM users Then SELECT * FROM users ORDER BY <something here to make it exactly the reverse of before> Would it just be this? ORDER BY Desc

Aucun commentaire:

Enregistrer un commentaire