Sorting after Filtering Data
Swipe to show menu
Summary:
- The
ORDER BYclause can be placed after theWHEREclause to sort the data after conditionally filtering it; - Example:
SELECT * FROM students WHERE age > 20 ORDER BY name;.
Everything was clear?
Thanks for your feedback!
Sectionย 3. Chapterย 5
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Sectionย 3. Chapterย 5