One Primary Address
Design the addresses table for user addresses. It must store id as the primary key, user_id, and the is_primary flag; a user may have many addresses, but the database must prevent more than one row with is_primary = true for the same user_id.
Díreach CREATE/ALTER/DROP — ní gá SELECT ina dhiaidh sin.
Logáil isteach chun stair na n-aighneachtaí a fheiceáil
Logáil isteachLogáil isteach chun an Meantóir IS a úsáid
Logáil isteachGan scéim tosaithe
Tosaíonn an tasc seo gan táblaí — cruthóidh tú iad le CREATE TABLE.