Skip to Content
SQL Intermediate: Queries That Survive Real Data
Intermediate
0 likes
Courses
SQL Intermediate: Queries That Survive Real Data

Final Check: SQL Intermediate

Fifteen scenario questions across the whole course. If you get twelve or more right, you can build reports on messy data, design tables that protect themselves and read what a query is doing.

Course content

Sign in to save your progress.

Course Home
1. You join orders to order_items and run count star to count orders. There are 12 orders and the result is 20. What should you count instead?
5. Which window function gives you the value from the previous row in the same partition?
6. A column visited_at holds timestamptz values. Which expression gives the day each visit belongs to in Manila?
7. A BETWEEN '2026-09-01' AND '2026-09-30' filter on a timestamp column misses visits from the afternoon of 30 September. What range is safe?
8. In a time zone that moves its clocks forward on one day, what is the difference between adding INTERVAL '1 day' and INTERVAL '24 hours' to a timestamptz?
15. An application running at REPEATABLE READ gets the error could not serialize access due to concurrent update. What should it do?

About

Fifteen scenario questions across the whole course. If you get twelve or more right, you can build reports on messy data, design tables that protect themselves and read what a query is doing.

Duration
15 min
Last update
09/26/2026
Was this helpful?
​ 0 ​ 0

Comments (0)

Sign in to comment

No comments yet.