Complete ORDER BY
Fill in the Blank Beginner
Question
Fill in the blank to sort users by name:
Code
SELECT * FROM users ORDER ___ name ASC;
Hint
ORDER ___ name — what goes in the blank?
Explanation
ORDER BY sorts the result set. ORDER BY name ASC sorts alphabetically in ascending order. Use DESC for descending.
Related Resources
Related Lessons
- Select Queries
Learn ORDER BY.
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.