Loading…
Loading…
Thirty questions on entities and relationships, normalization, constraints, ALTER TABLE and foreign key actions, identity columns, sequences and UUIDs, indexes, views, materialized views and metadata queries, with explanations.
Review quiz for Part 10 (Database design) and Part 11 (Defining tables and schema objects) of the SQL course:
Some questions use the shop database from Part 3: customers (6 rows), products (7 rows), orders (6 rows) and order_items (9 rows), with foreign keys from orders to customers, from order_items to orders and products, and from customers.referred_by to customers.
Every question with a query was run on PostgreSQL 17 to confirm its answer. Aim for at least 21 out of 30 before starting Part 12.
Quiz path: step 9. Take the quizzes in this order, after reading each article.
Previous quiz: Reporting and Advanced Queries Review (SQL Part 9)
30 questions · pass at 70%
Check your understanding; you see the answers and explanations after submitting.
Discussion
Sign in to ask a question or share what you learned.