The ORDER BY and LIMIT Clauses in SQL to Help With Sorting

Опубликовано: 25 Февраль 2026
на канале: Becoming a Data Scientist
24,126
612

Learn how to sort your rows by using the ORDER BY clause and how to limit the number of rows shown by using the LIMIT clause.

Queries:
1) Sort your rows in Ascending or Descending Oder: SELECT * FROM table ORDER BY column DESC
2) Limit the number of rows returned: SELECT * FROM table LIMIT 5

Get the Northwind Database:    • How to Load a Sample PostgreSQL Database i...  

Support the Channel:
1) Subscribe:
2) DataCamp:
3) Udacity: