SQL Order By: How to Order Your Results

Details
Title | SQL Order By: How to Order Your Results |
Author | Database Star |
Duration | 4:54 |
File Format | MP3 / MP4 |
Original URL | https://youtube.com/watch?v=0djmjeenFhI |
Description
📝 Get my free SQL Cheat Sheets: https://databasestar.mykajabi.com/lpkj-sql-cheat-sheets/?utm_source=viddesc&utm_medium=youtube&utm_campaign=6
🎓 Master SQL Fundamentals: https://databasestar.mykajabi.com/sql-simplified/?utm_source=viddesc&utm_medium=youtube&utm_campaign=6
The SQL ORDER BY keyword is used to order your results in a SELECT query.
In this video, you'll learn how to use the ORDER BY clause, as well as a few tips for using it. You'll learn where in the SELECT query it needs to go, whether or not it can use an alias, an alternative method of referring to columns, and several other tips.
Timestamps:
00:00 Start
00:15 What is Order By?
00:37 Syntax of the Order By command
00:56 Example
01:10 What to know about Order By
03:22 Order by columns not in the SELECT clause
03:50 Order By can be expensive