Give every locker a required, unique identifier. The table starts empty, so matching the displayed headings will not by itself prove that the key was declared.
This exercise starts without tables. The following dictionaries describe the tables to create, not preloaded tables.
lockersOne row represents one locker.
| Field / SQL type | Meaning | Rules |
|---|---|---|
locker_id · integer | Identifier of the locker. | Primary key. Required; cannot be NULL. |
label · text | Readable locker label. | Nullable; NULL means no label value is recorded. |
Write your query in script.sql. Use Run to inspect it, then Submit.
PRIMARY KEY supplies both uniqueness and non-NULL identity.