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.
Just CREATE/ALTER/DROP — no trailing SELECT needed.
Sign in to see submission history
Sign inSign in to use AI Mentor
Sign inNo starting schema
This task starts with no tables — you'll create them via CREATE TABLE.