Skip to content
FreePro253 ProblemsSQL + Python

Retail SQL & Python Interview Questions

E-commerce and retail analytics covers inventory management, customer lifetime value, basket analysis, and supply chain performance across millions of SKUs. These SQL and Python challenges are modeled after data work at Amazon, Walmart, Target, Shopify, eBay, Etsy, Wayfair, Kroger, Costco, Best Buy, Home Depot, IKEA, and more. Master funnel analysis, cohort retention, demand forecasting, and merchandising metrics.

Retail

253 total problems

SQL148
Python105
Companies working in Retail

These practice problems are modeled after the kind of data and analytics challenges teams in this industry typically face.

Amazon
Amazon
Walmart
Walmart
Target
Target
Instacart
Instacart
Shopify
Shopify
eBay
eBay
Etsy
Etsy
Wayfair
Wayfair
Chewy
Chewy
Kroger
Kroger
Costco
Costco
Best Buy
Best Buy
Home Depot
Home Depot
IKEA
IKEA
Alibaba
Alibaba
Flipkart
Flipkart
Mercado Libre
Mercado Libre
Rakuten
Rakuten
Faire
Faire
Coupang
Coupang

Company names and logos are trademarks of their respective owners, used here only to describe the kind of data these companies work with. Let's Data Science is not affiliated with, endorsed by, or sponsored by any company shown. Practice problems are original works and are not real interview questions from these companies. Rights & takedowns.

Difficulty Breakdown

253 problems
69 Easy(27%)
107 Medium(42%)
67 Hard(26%)
10 Expert(4%)

What You'll Practice

Customer lifetime valueBasket & cart analysisInventory management metricsFunnel conversion analysisCohort retentionProduct performanceSupply chain KPIsPromotional analysis

Topics Covered

24 topics
SQL · 10
aggregationbasic queries filteringcleaning transformdate timefilteringjoinsscenario sqlset operationssubqueries cteswindow functions
Python · 14
ab testingeda statisticsfeature engineeringml evaluationpandas aggregationpandas applypandas basicspandas cleaningpandas datetimepandas filteringpandas mergingpandas reshapingpandas scenariopandas window

All Problems253 total

Open in editor

Ready to practice Retail?

253 SQL and Python challenges built from real retail data. Graded instantly in your browser — no setup required.