About the “Critical Warehouse Low Stock & Reorder Thresholds” SQL Problem
Business Scenario
Supply chain replenishment systems monitor on-hand inventory levels against reorder safety thresholds to prevent stockout outages during peak sales cycles.
Expected Output & Criteria
Low stock items requiring immediate vendor replenishment.
Database Table Schema (PostgreSQL DDL)
PostgreSQL 16 WASMCREATE TABLE product_inventory (
sku VARCHAR(20) PRIMARY KEY,
product_name VARCHAR(100) NOT NULL,
available_units INT NOT NULL,
supplier_lead_days INT NOT NULL
);Target SQL Clauses & Operators
Want more Fundamentals practice?
Explore the full syllabus of 16 exercises and syntax guides.