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

CREATE/ALTER/DROP biss — l-ebda SELECT fl-aħħar mhu meħtieġ.

Ir-riżultat tal-query tiegħek jidher hawn

L-ebda skema tal-bidu

Dan l-eżerċizzju jibda mingħajr tabelli — toħloqhom permezz ta' CREATE TABLE.