JavaScript required
We’re sorry, but Coda doesn’t work properly without JavaScript enabled.
If Day 2 is strong, JOINs (Day 4) become easy.
“One user places multiple orders.”
❌ This design breaks immediately.
One row = one real-world object
By storing the parent’s ID in the child table
A foreign key says: “This value must exist in the parent table.”
That’s foreign key doing its job.
“Give me all orders placed by user 1”
“Users whose user_id is not present in orders table”
❌ Never duplicate parent data in child table.
Databases model relationships, not nested objects.