cswork / categoriesOpen practice workspace

BY CATEGORY

Data manipulation (SQL/Python) Interview Questions

Prepare for Data manipulation (SQL/Python) questions: 574 interview questions from real interviews. Read, practise and mock them on CSWork.

Questions
574
Updated
2026-10-06

Interview questions 574

Filter in the workspace
  1. QCalculate the Percentage of Highly Active Users by Country · PinterestMedium
  2. CodeCount Users Retained on Day Seven · MixpanelMedium
  3. CodeCount Users Active After Signup · MixpanelMedium
  4. CodeCompare First-Week Retention by Plan Type · MixpanelMedium
  5. CodeCalculate First-Week Retention by Signup Cohort · MixpanelMedium
  6. CodeNumber Entries Within Each ConversationMedium
  7. CodeContinue Entry Numbers for a Daily Incremental BatchMedium
  8. CodeSum Employee Working Time from Ordered Check-In and Check-Out Events · AgodaEasy
  9. CodeReturn Every Employee with a Mapped or Default Unique ID · AgodaEasy
  10. CodeRank Customers by Monthly Revenue with Competition Ties · AgodaEasy
  11. CodeFind the Longest Calendar-Day Streak with All Employees Present · AgodaEasy
  12. CodeSQL: Users With No Rides in the Most Recent 7-Day Window, Including Non-Riders · WaymoMedium
  13. CodeSQL: Top 5 Vehicle Models by Miles per kWh Under a Maintenance Cost Cap · WaymoMedium
  14. CodeSQL: Monthly Ride Totals and Average Ratings, Newest Month First · WaymoMedium
  15. CodeSQL: Count Users With Zero or One Rides per City · WaymoMedium
  16. CodeSQL: Average Ride Rating in Users' First and Third Active Months by City · WaymoMedium
  17. CodeClassify Tree Nodes in SQL · OracleMedium
  18. CodeAggregate User Events and Check Join Uniqueness · MixpanelMedium
  19. CodeLongest Meeting-Free Business-Hours Block per Employee and Day · IntuitMedium
  20. CodeFind Users with Seven Consecutive Impression Days · AirbnbMedium
  21. CodeFind Hosts Meeting Listing, Rating, and Review-Coverage Rules · AirbnbMedium
  22. CodeEstimate Page-Visit Duration from the Next User Event · AirbnbMedium
  23. CodeCalculate the Median House Price in Each City · AirbnbMedium
  24. CodeFind Values Owned Only by the Selected User · MetaMedium
  25. CodeReconcile Monthly Bank-Account Balances Across Two Datasets · StripeMedium
  26. CodeFind the Latest Balance for a Bank Account · StripeMedium
  27. CodeFind Customers Whose Average Website Resource Usage Exceeds 50 Percent · IBMMedium
  28. CodeMeasure Customers Ordering from Bottom-Quartile Restaurants · DoorDashEasy
  29. CodeCompute ad impression conversion rates · MetaMedium
  30. CodeCompute a Seven-Day Rolling Average · Fetch RewardsMedium
  31. CodeCalculate Order Request Metrics · DoorDashHard
  32. CodeFind top advertisers and cost per KPI · MolocoMedium
  33. CodeCount unconnected posts and reactions · MetaMedium
  34. CodeCampaign Efficiency Metrics and Below-Average CTR · ByteDanceMedium
  35. CodeFind the Highest-Paid Employee in Each Department · Otter.AiMedium
  36. CodeFind Every Project with the Most Employees · Otter.AiMedium
  37. CodeCompute a Seven-Day Rolling Average · WhatnotMedium
  38. CodeCompute High-Call Usage Rates · MetaHard
  39. CodeAnalyze spend cohort and source shifts · MetaMedium
  40. CodeAnalyze document collaboration from CSV logs · NotionEasy
  41. CodeExplain Pandas and SQL Basics · RbcroyalbankEasy
  42. QSolve SQL and Python OA tasks · WayfairEasy
  43. CodeFind Lowest Prices for Highly Rated Categories · Capital OneMedium
  44. CodeDebug SQL join that drops rows · Home DepotEasy
  45. CodeCompute Cohort Retention Rate · IntuitMedium
  46. CodeDifferentiate pandas objects and SQL filters · RbcroyalbankEasy
  47. CodeCompute multi-account user distribution and unread pct · MetaEasy
  48. QAnalyze member video posting behavior by country · LinkedInEasy
  49. CodeFind top countries by population per continent · LinkedInEasy
  50. CodeCompute each member’s current notification status · LinkedInEasy
  51. CodeCompute article-type diversity per user and histogram · LinkedInEasy
  52. CodePosts and Replies Engagement · MetaMedium
  53. CodeFind multi-account buckets and unread rate · MetaMedium
  54. CodeWrite SQL for Pixel Signal Metrics · MetaMedium
  55. CodeConvert Dictionary to DataFrame · Walmart LabsHard
  56. CodeWrite SQL for content-view analytics · The New York TimesEasy
  57. CodeCompute per-coin quarterly amounts and totals · OthersEasy
  58. CodeCompute ads revenue by geography in SQL · MetaEasy
  59. CodeWrite SQL for call analytics · MetaMedium
  60. CodeExplain pandas and SQL basics · RbcroyalbankEasy