Inventory Without Negative Stock
Create the inventory table for stock balances. It needs id as an int primary key, required unique sku as text, and required stock as int; the database must reject values where stock < 0.
Endast CREATE/ALTER/DROP — ingen avslutande SELECT behövs.
Logga in för att se historik över inskick
Logga inLogga in för att använda AI-mentorn
Logga inInget startschema
Den här uppgiften börjar utan tabeller — du skapar dem med CREATE TABLE.