order by in postgresql code example
Example: order by postgresql
SELECT
select_list
FROM
table_name
ORDER BY
sort_expression1 [ASC | DESC],
...
sort_expressionN [ASC | DESC];Code language: SQL (Structured Query Language) (sql)
SELECT
select_list
FROM
table_name
ORDER BY
sort_expression1 [ASC | DESC],
...
sort_expressionN [ASC | DESC];Code language: SQL (Structured Query Language) (sql)