Find the SELECT Mistake
Find the Mistake Beginner
Question
This query has a syntax error. Find and fix it:
Code
SELECT name email FROM users;
Hint
How do you separate multiple columns in a SELECT list?
Explanation
The missing comma between name and email causes a syntax error. The fix is SELECT name, email FROM users; — columns in a SELECT list must be separated by commas.
Related Resources
Related Lessons
- Select Queries
Learn SELECT syntax.
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.