🗒 Cheat Sheet← Lesson
BitWithBite
SQL Worksheet

🗃 Database Design & ERDs

Chapter: SQL · Level ★☆☆ · Time: 30 min
SCORE___ / 20
NameClassDate
After this worksheet you can
Model entities and relationshipsDraw ERDsOne-to-many vs many-to-manyJunction tables

🧠 Section A · Concept Check ● BEGINNER 4 × 1 = 4

1An ERD shows:
2One customer, many orders is:
3Many-to-many needs a:
4students-courses is naturally:

🧮 Section B · Problem Solving ● INTERMEDIATE 2 + 3×3 = 11

5A real-world thing (user, order) is an .
61:N means one parent, many .
7Design tables for authors and books (an author writes many books).
8Design students-courses enrolment.
9Why not store a list of course ids in one column?

🚀 Section C · Challenge ● CHALLENGE 5

10What relationship is passport-person?
💭 Reflection — the most useful thing I learned:
A ___/4   B ___/11   C ___/5   Total ___/20 Teacher's Signature Parent's Signature
✂ answer key — fold or cut before handing out

1-A   2-B   3-A   4-C  |  5 entity   6 children   7 = authors(id,...), books(id, author_id FK, ...)   8 = students, courses, enrolments(student_id, course_id)   9 = Breaks 1NF - impossible to query/join properly  |  10 = 1:1

📄 Need offline practice?Download the print-ready PDF or open the one-page cheat sheet.
⬇ Worksheet PDF 🗒 Cheat Sheet