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

Solo CREATE/ALTER/DROP — no hace falta un SELECT al final.

Aquí aparecerá el resultado de tu consulta

Sin esquema inicial

Este ejercicio no incluye tablas iniciales: tendrás que crearlas con CREATE TABLE.