Supply chain planners need a one-line health check per warehouse before the festive restock.
From warehouse_stock, return one row per warehouse_code with:
sku_count— number of SKUs stockedtotal_units— total units on handavg_unit_price— average unit price rounded to 2 decimalsmin_unitsandmax_units— smallest and largest unit count for that warehouse
Sample data
More Aggregate Functions questions
Practising alone only goes so far — our live cohorts pair SQL depth with dashboards, agentic analytics projects and mock interviews.
Explore the program