Loading…
Loading…
The final exam for the SQL course: thirty questions across all fifteen parts, from query processing, NULLs, joins and aggregation through windows, data changes, types, design, indexes, security, transactions, procedural SQL and tuning.
The final exam of the SQL course. It mixes questions from all fifteen parts, so it tests whether the ideas work together rather than one topic at a time.
Questions with a query use the practice shop database from the exercise sets, described in SQL Exercises With Solutions: Beginner: categories (7 rows), products (12), customers (10, one with a NULL city), employees (6), orders (22: 14 shipped, 4 delivered, 2 pending, 2 cancelled), order_items (35) and payments (21).
Every question with a query was run on PostgreSQL 17 to confirm its answer. Aim for at least 23 out of 30. After this, three more quizzes go deeper: interview questions, delicate details and dialect differences.
Quiz path: step 13. Take the quizzes in this order, after reading each article.
Previous quiz: Performance Review (SQL Part 14)
Next quiz: SQL Interview Questions
30 questions · pass at 75%
Check your understanding; you see the answers and explanations after submitting.
Discussion
Sign in to ask a question or share what you learned.