Skip to content

CoffeeShop Query Templates

CoffeeShop overview

Representative SQL and DataFrame renderings for each of the 11 CoffeeShop queries. Every page also shows how to extract the exact query for a given platform and scale.

QueryName
SA1Daily Revenue by Region
SA2Top Products by Revenue
SA3Monthly Performance
SA4Revenue Share by Region
SA5Top Locations
PR1Product Mix
PR2Price Band Distribution
TR1Quarterly Trends
TM1Day-Part Cadence
QC1Lines per Order
QC2Seasonal Revenue