#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.

Pelkkä CREATE/ALTER/DROP — lopussa ei tarvita SELECT-lausetta.

Kyselysi tulos näkyy tässä

Ei aloitusskeemaa

Tämä tehtävä alkaa ilman tauluja — luot ne CREATE TABLE -komennolla.