#1042

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.

Tikai CREATE/ALTER/DROP — noslēdzošais SELECT nav nepieciešams.

Tava vaicājuma rezultāts parādīsies šeit

Nav sākotnējās shēmas

Šis uzdevums sākas bez tabulām — tev tās jāizveido ar CREATE TABLE.