Skip to Content
SQL for Beginners: Ask Your Data Straight Questions
Beginner
0 likes
Courses
SQL for Beginners: Ask Your Data Straight Questions

Final Check: SQL for Beginners

Fifteen scenario questions across the whole course. If you get twelve or more right, you can read a small database, change it safely and combine its tables without silent mistakes.

Course content

Sign in to save your progress.

Course Home
2. A colleague posts a query written for SQL Server that uses SELECT TOP 5. How do you limit rows to five in PostgreSQL?
3. You page through products with LIMIT 3 OFFSET 3 and no ORDER BY, and page 2 repeats a row from page 1. What is the fix?
4. The product Gel Pen exists. SELECT name FROM products WHERE name LIKE 'g%' returns nothing in PostgreSQL. Why, and what would match it?
5. You write WHERE city NOT IN ('Cebu', NULL) and get zero rows, though many customers live elsewhere. What is the cause?
6. A report must show every customer, with the text unknown where the city is missing, without changing the data. Which expression does it?
10. In a table of 20 rows, 5 have a NULL in the column score. What do count(*) and count(score) return?
13. You want every customer listed with the number of orders they placed, and customers with no orders must show 0. Which join do you start from?
15. A query copied from an old MySQL answer selects customer_id, status and count(*) but groups only by customer_id. It ran there, and PostgreSQL stops it with an error. What does PostgreSQL want?

About

Fifteen scenario questions across the whole course. If you get twelve or more right, you can read a small database, change it safely and combine its tables without silent mistakes.

Duration
15 min
Last update
10/01/2026
Was this helpful?
​ 0 ​ 0

Comments (0)

Sign in to comment

No comments yet.