Find the Semicolon Mistake
Find the Mistake Beginner
Question
This has a common mistake. Find it:
Code
SELECT * FROM users
SELECT * FROM orders
Hint
How do you separate SQL statements?
Explanation
The first statement is not terminated with a semicolon. Without the semicolon, the parser may treat both lines as one statement. Fix: SELECT * FROM users; SELECT * FROM orders; — always end statements with semicolons.
Related Resources
Related Lessons
- SQL Basics
Learn statement 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.