The result checks confirm the selected column names and empty rows. They do not independently verify the table name or declared types; compare your definition with the requested design.
This exercise starts without tables. The following dictionaries describe the tables to create, not preloaded tables.
storage_binsOne row represents one storage bin to be created.
| Field / SQL type | Meaning | Rules |
|---|---|---|
bin_id · integer | Intended identifier of the bin. | Nullable; NULL means the identifier is unrecorded. |
label · text | Readable bin label. | Nullable; NULL means no label value is recorded. |
capacity · integer | Whole-number count of storage slots in the bin. | Nullable; NULL means the capacity is unrecorded, not zero. |
This first design does not yet enforce unique identifiers or positive capacities.
This table has no declared primary or unique key; distinct sample values are not a uniqueness guarantee.
The storage coordinator needs a new table, not a new query on the gear catalog. Start with an empty database and choose the requested column types. The final SELECT lets you inspect the shape even before any bins exist.
Each future row represents one storage bin. bin_id is its intended identifier, label is readable text, and capacity counts storage slots, so a whole-number type fits. This first definition does not yet enforce unique identifiers or positive capacities; practice the column structure before adding those constraints.
The setup below is already loaded before each attempt. It is reference material, not code to paste into script.sql.
-- No tables are needed before this exercise.
Edit script.sql, use Run to inspect the result, then Submit.
storage_bins table with bin_id integer, label text, and capacity integer. Finish by selecting these three columns in that order.The final result is empty, with columns bin_id, label, capacity. Empty rows alone do not verify your table definition.
CREATE TABLE declares columns; the final SELECT only displays their shape.