Storage Engines
A storage engine is how the table is stored. SHOW ENGINES; InnoDB is default (transactions, FKs). MyISAM: old, table locks. MEMORY: RAM, lost on restart. CSV: CSV files, little use in apps.
CREATE TABLE … ENGINE=InnoDB; Usually omit it and take the default.
Trap — MEMORY for data you cannot lose. Trap: mixing engines then expecting FKs between them.
On the example next to this theory: Storage Engines: create two demo rows, then SELECT qty >= 2 ordered. Say which labels come back.
Exam tip
InnoDB default. SHOW ENGINES; to list.