SQLSyntax
Sort Results
Code example
SELECT * FROM users ORDER BY created_at DESC;Orders rows by one or more columns.
In SQL, sort results: orders rows by one or more columns — SELECT * FROM users ORDER BY created_at DESC;
SELECT * FROM users ORDER BY created_at DESC;SELECT * FROM users ORDER BY created_at DESC;Orders rows by one or more columns.
Use SELECT * FROM users ORDER BY created_at DESC;.
Use this pattern: SELECT * FROM users ORDER BY created_at DESC;
Yes. Use Copy code and adapt the example to your program.
No. The language syntax is the same across operating systems.