Learners age 14+ who meet the stated prerequisites.
Course 115 · Digital course 22
Design a Relational Database
Separate objects from events and build a database design that avoids repeated facts and impossible loans.
Understand rows, columns and unique IDs; Answer Questions with SQL is useful background.
See everything you’ll needPractice materials and a worked example · Free download. Download the starter pack
A four-table equipment-loan schema with stable keys, relationship definitions, integrity rules and checked edge cases.
Your project
Start with the practice files. Build your project one lesson at a time.
Practice files are free without an account. Sign in to save your project record in My Proof: a description, checklist, and optional work link. Keep the original files in your own app or notebook; saving a project record does not upload them.
- Get your materialsDownload practice filesStart with the supplied materials, follow the lessons, and compare your work with the annotated example.
- Make your projectView the project checklist Work in your own notebook, document, or software. Use the supplied practice examples when you prefer.
- Keep a private recordSave a project record Sign in to save a description and checklist, then return to update them.
Watch an introduction.
This overview from freeCodeCamp.org introduces ideas you’ll practice in the lessons.
Watch directly on YouTubeKnow the route before you begin.
Here’s what you’ll need and what you’ll make. You can return to this guide during any lesson.
- Understand rows, columns and unique IDs; Answer Questions with SQL is useful background.
- Use paper or a text editor. Optional implementation uses free SQLite in a new empty database.
- Reading and core practice include the three checks. Initial software setup and optional video viewing take extra time.
Finish with proof you can use.
A four-table equipment-loan schema with stable keys, relationship definitions, integrity rules and checked edge cases.
Save a project record in My ProofSee project checklist and review criteria
Keep your working files in your own notebook or software. Save a private description, checklist, and work link in My Proof.
What to include
- Four entity definitions and base row counts.
- Stable primary keys and foreign keys.
- Relationship sketch and trace.
- Dependency/redundancy example.
- Integrity rules, three edge cases and limits.
Review and revise
Use these criteria to check your work and choose what to improve.
- Objects and events remain distinct.
- Keys reconstruct every required relationship.
- Facts are stored with their proper owner.
- Constraints and case decisions match the stated policy.
Three ideas to help you along the way
The rules behind the steps.
Give facts an owner
Store descriptive facts with the entity that determines them.
Separate identity from labels
Names can repeat or change while stable IDs persist.
Challenge the model
Test valid, invalid and changed-state cases before implementation.
What do these words mean?
Key terms worth knowing.
- Entity
- An independently identified thing or event.
- Primary key
- The unique identifier for a table row.
- Foreign key
- A reference to a row in another table.
- Dependency
- A relationship where one fact determines another.
- Normalization
- Structuring tables to reduce inconsistent repeated facts.
6 lessons.
One useful project.
Work in order the first time. Each lesson makes something the next lesson can use.
- 1Up next
Find the entities in a real-world brief
Separate equipment types, physical items, borrowers and loan events.
- 224 min
Choose stable keys
Select identifiers that distinguish records even when labels change.
- 328 min
Model relationships between tables
Describe one-to-many links and locate foreign keys.
- 424 min
Remove repeated facts
Use dependencies to prevent inconsistent updates.
- 528 min
State and check integrity rules
Translate requirements into rules for permitted records.
- 628 min
Challenge and hand off the schema
Test the complete design with historical and simultaneous-loan cases.
Tools to help you practice.
Design a Relational Database practice files
Start with the supplied materials, follow the lessons, and compare your work with the annotated example.
Your course project worksheet
A downloadable text worksheet with each lesson’s working output, space for your answers, and the shared final-project checklist. Save your own copy.
Sources and further study.
Explore the references behind the lessons and take your learning further. Source notes explain access and reuse.
Source & access notes · checked 2026-09-12
Opened and inspected on 2026-09-12: Entities, keys and relationship multiplicities.
Access: Free public web page; no paid enrollment required.
Reuse: CC BY 4.0 except credited exceptions; independent tables and explanations.
Source & access notes · checked 2026-09-12
Opened and inspected on 2026-09-12: Determinants and dependencies.
Access: Free public web page; no paid enrollment required.
Reuse: CC BY 4.0 except noted material; independent examples.
Source & access notes · checked 2026-09-12
Opened and inspected on 2026-09-12: Redundancy and decomposition.
Access: Free public web page; no paid enrollment required.
Reuse: CC BY 4.0 except noted material; independent examples.
Source & access notes · checked 2026-09-12
Metadata retrieved and inspected on 2026-09-12: exact title and channel confirmed through YouTube oEmbed. Playback and full video content were not tested. Optional overview; the written lesson and supplied practice stand alone.
Access: Free public web page; no paid enrollment required.
Reuse: Link or provider embed only; do not copy video, audio or transcript.
Start with the first useful move.
You’ll always know what to do, what to make, and where to go next.
Potential collaboration: Free learning tools, libraries, technical training providers
Partner with LifeStarter