Data Analyst Interview Questions
Data Analyst interviews are mostly SQL: filtering, joins, grouping, date logic and window functions, with some pandas and Python. These 190+ questions come from 42 companies. Start solving and check your level of preparation.
By company
By topic
All the questions
- Active productsSQL
Targeteasy - Anagram checkPython
Etsyeasy - Any duplicate transaction ids?Python
Visaeasy - Best week of salesPython
Targeteasy - Clearance candidatesSQL
Targeteasy - Completed trips by cityPandas
Ubereasy - Completed trips by hour of daySQL
Ubereasy - Customers outside the US and MexicoSQL
Walmarteasy - Delivery time by cityPandas
Swiggyeasy - Electronics and accessoriesSQL
Best Buyeasy - Even-numbered ordersSQL
Best Buyeasy - FactorialPython
Googleeasy - Find a price in a sorted listPython
Best Buyeasy - First unique characterPython
Amazoneasy - FizzBuzzPython
Microsofteasy - Hires per yearSQL
LinkedIneasy - In-stock electronicsSQL
Best Buyeasy - Inventory valueSQL
Walmarteasy - Items and aisles per orderPandas
Instacarteasy - Large orders with customer namesSQL
Amazoneasy - Listening minutes per listenerPandas
Pandoraeasy - Listings missing a pricePandas
Zilloweasy - Lowest and highest farePython
Lyfteasy - Merge sales by regionPython
Targeteasy - Missing order numberPython
Walmarteasy - Move zero-sale days to the endPython
Best Buyeasy - Order amount with taxSQL
Stripeeasy - Orders above the averageSQL
Walmarteasy - Orders by statusSQL
Targeteasy - Orders in a price rangeSQL
Stripeeasy - Orders per customerSQL
Targeteasy - Orders placed in March 2024SQL
Best Buyeasy - Price bandsSQL
Amazoneasy - Pro productsSQL
Best Buyeasy - Products launched in 2024SQL
Targeteasy - Products under 50SQL
Walmarteasy - Products with no brandSQL
Amazoneasy - Remove duplicates, keep the orderPython
Netflixeasy - Revenue by categoryPandas
Amazoneasy - Reverse the wordsPython
LinkedIneasy - Rotate a shift schedulePython
Walmarteasy - Salary against department totalSQL
Microsofteasy - Show missing discounts as zeroSQL
Targeteasy - Split requests into batchesPython
Stripeeasy - Stock statusSQL
Amazoneasy - Surge share by citySQL
Lyfteasy - Total completed revenueSQL
Walmarteasy - Trusted shop reviewsPandas
Etsyeasy - Unfinished orders over 50SQL
Targeteasy - Watch time by genrePandas
Netflixeasy - Average rating by vehicle typePandas
Ubermedium - Average reactions per post typeSQL
Metamedium - Average sales cycleSQL
Salesforcemedium - Back to back repeatsSQL
Spotifymedium - Balanced bracketsPython
Salesforcemedium - Best stretch of daysPython
Robinhoodmedium - Big orders or a loyal customerSQL
Best Buymedium - Booked revenue by cityPandas
Airbnbmedium - Busiest stock per clientSQL
Zerodhamedium - Cancellation rate by room typeSQL
Airbnbmedium - Cancellation split by restaurantSQL
Swiggymedium - Cheapest channel per campaignSQL
Nykaamedium - Completed versus other ordersSQL
Stripemedium - Completion rate by content typeSQL
Netflixmedium - Compress a status logPython
Ubermedium - Counting what is recordedSQL
Walmartmedium - Customers with repeat ordersSQL
Targetmedium - Customers without ordersSQL
Amazonmedium - Daily returnSQL
Coinbasemedium - Damage share of refundsSQL
Flipkartmedium - Day over day swingSQLPremium
Swiggymedium - Days from signup to first orderSQL
Stripemedium - Deepest cut per productSQL
Myntramedium - Delivery time by cuisineSQL
DoorDashmedium - Department headcount and paySQL
Salesforcemedium - Drivers without ridesPandas
Ubermedium - Employee senioritySQL
Googlemedium - Employees and their managersSQL
Workdaymedium - Everyone in the top threeSQL
DraftKingsmedium - Fare per kilometer by citySQL
Ubermedium - First and last position of a userPython
Metamedium - Flatten a category treePython
Amazonmedium - Group anagramsPython
Pinterestmedium - High credit utilizationSQL
Capital Onemedium - Hours between scansSQL
Amazonmedium - How often it ran outSQL
Blinkitmedium - Invert team assignmentsPython
Capital Onemedium - Kth largest orderPython
Instacartmedium - Latest order statusPandas
Instacartmedium - Lineups above their contest averagePandas
FanDuelmedium - Listening time so farSQL
Spotifymedium - Longest incident per servicePandas
PagerDutymedium - Longest run of consecutive daysPython
Pelotonmedium - Low-rated driversSQL
Ubermedium - Merchants with high fraud ratesSQL
Mastercardmedium - Missed minimum paymentsSQLPremium
Capital Onemedium - Money moved by payment typeSQL
PhonePemedium - Money moved so farSQLPremium
PhonePemedium - Monthly approved spendPandas
Visamedium - Monthly traded valuePandas
Robinhoodmedium - Most visited locationPython
DoorDashmedium - Net balance by accountSQL
Stripemedium - Nights booked per citySQL
Airbnbmedium - Open positions by userSQL
Robinhoodmedium - Order sequence per customerSQL
Walmartmedium - Orders from enterprise customersSQL
Amazonmedium - Orders per calendar monthSQL
Walmartmedium - Orders per customer segmentSQL
Amazonmedium - Packages still movingSQL
Amazonmedium - Pins by categoryPandas
Pinterestmedium - Place within the contestPandas
FanDuelmedium - Plan changesSQL
Shopifymedium - Points above the contest averageSQL
DraftKingsmedium - Position after each tradeSQL
Zerodhamedium - Price after discountSQL
Walmartmedium - Price dropsSQLPremium
Myntramedium - Price moved since last tradeSQLPremium
Zerodhamedium - Price per square foot by citySQL
Zillowmedium - Prime vs. standard order valueSQL
Amazonmedium - Priority mix per projectSQL
Atlassianmedium - Prize ranks with tiesSQL
DraftKingsmedium - Quiet time between incidentsSQL
Datadogmedium - Reactions by post typePandas
Metamedium - Read a nested settingPython
Mastercardmedium - Refunds so farSQLPremium
Flipkartmedium - Resolution time by priorityPandasPremium
Atlassianmedium - Returns by reasonSQLPremium
Flipkartmedium - Revenue against targetSQLPremium
Swiggymedium - Revenue by countrySQL
Stripemedium - Revenue by plan and monthPandas
Shopifymedium - Revenue by statePandas
Amazonmedium - Revenue to date per merchantSQL
Shopifymedium - Running account balancePandasPremium
Stripemedium - Salary rank within departmentSQL
Netflixmedium - Severity mix per serviceSQL
Datadogmedium - Share of plays cut shortPandas
Pandoramedium - Shops per tagPandas
Etsymedium - Slow deliveries by cuisinePandas
DoorDashmedium - Slowest ticket per projectSQL
Atlassianmedium - Sort employee recordsPython
Workdaymedium - Spend by channelSQLPremium
Nykaamedium - Spend to dateSQLPremium
Nykaamedium - Stage times per packageSQL
Amazonmedium - Subtasks that outlived the parentSQLPremium
Atlassianmedium - The busiest customerSQL
Amazonmedium - Three day averageSQL
Coinbasemedium - Top earner per departmentPandas
Salesforcemedium - Top partners per citySQLPremium
Swiggymedium - Top reason per categorySQLPremium
Flipkartmedium - Top track per listenerSQL
Spotifymedium - Verified rating by shopSQL
Etsymedium - Weekend ordersSQL
Walmartmedium - Where a new price fitsPython
Zillowmedium - Which products repeat?Python
Wayfairmedium - Win rate by sales repSQLPremium
Salesforcemedium - Averages that skip NULLsSQL
Amazonhard - Best and worst day per assetPandas
Robinhoodhard - Busiest hour per cityPandasPremium
Lyfthard - Card-testing patternsSQLPremium
Mastercardhard - Cost per order gridPandasPremium
Nykaahard - Cross-border share by card tierSQL
Visahard - Drawdown from the peakSQL
Coinbasehard - Each user's top categorySQLPremium
Pinteresthard - Every stockout windowSQLPremium
Blinkithard - Failures in a rowSQLPremium
PhonePehard - Highest paid in each departmentSQL
Metahard - Holdings in long formatPandasPremium
Robinhoodhard - Hours lost by dayPandas
PagerDutyhard - Incidents that overlappedSQL
Datadoghard - Largest order per customerPandas
Amazonhard - Listening sessionsSQLPremium
Spotifyhard - Longest palindrome in a namePython
Airbnbhard - Longest price holdSQLPremium
Myntrahard - Longest rising streakSQL
Coinbasehard - Longest stockout runSQL
Blinkithard - Merged outage windowsSQL
Datadoghard - Minutes from order to doorstepSQLPremium
Instacarthard - Month-over-month spend changeSQLPremium
Visahard - Monthly completed revenueSQL
Stripehard - Most-watched title in each countrySQLPremium
Netflixhard - Net position gridPandasPremium
Zerodhahard - Paid above the department averageSQL
Googlehard - Posting on consecutive daysSQLPremium
Metahard - Retries before it workedSQLPremium
PhonePehard - Running revenue over timeSQL
Stripehard - Search a rotated schedulePythonPremium
Uberhard - Slowest package per facilitySQL
Amazonhard - Stretches that hit a targetPythonPremium
DoorDashhard - The day the position closedSQLPremium
Zerodhahard - Three transactions that cancel outPython
Stripehard - Top restaurant in each citySQLPremium
DoorDashhard - Top spending customersSQL
Amazonhard - Unbroken runs of monthsSQL
Shopifyhard
Questions last reviewed 19 October 2026.