Skip to content

SSB Query Templates

SSB overview

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

QueryName
Q1.1Revenue by Year
Q1.2Revenue by Year-Month
Q1.3Revenue by Week
Q2.1Revenue by Year/Brand (Category)
Q2.2Revenue by Year/Brand (Brand Range)
Q2.3Revenue by Year/Brand (Single Brand)
Q3.1Revenue by Nation/Year
Q3.2Revenue by City/Year (Nation)
Q3.3Revenue by City/Year (City Pairs)
Q3.4Revenue by City/Year-Month
Q4.1Profit by Year/Nation
Q4.2Profit by Year/Nation/Category
Q4.3Profit by Year/City/Brand