basics

Databases from scratch

Before you write SQL: what a table is, how keys link tables, what 1:n means, how to read an ER diagram and what a join really does. Six short chapters, each with something to click and try.

Optional, no points. Ticks are saved on this device only.

byte-shop.dbPKprimary keyFKforeign key
ER diagram of byte-shop.db with the tables customers, orders and products. orders.customer_id points to customers.id and orders.product_id points to products.id. Both links are one to many: one customer or product, any number of orders.