Data Scientist Data Manipulation (SQL/Python) Interview Questions

Practice 550 real Data Manipulation (SQL/Python) interview questions for Data Scientist roles. From companies including Meta, Amazon, TikTok, Capital One, DoorDash.

550 Questions 84 Companies08.03.2026
Showing 20 results
Role
Notion logo
Notion
Medium
Data Scientist

Analyze document collaboration patterns

You are given two CSV files and asked to analyze collaboration behavior on documents. File 1: document_activity.csv Each row is a document view event....

Data Manipulation (SQL/Python)
14
0
111 people solved
Aug 10, 2025
LinkedIn logo
LinkedIn
Easy
Data Scientist Locked

Write SQL for rankings, state, and aggregations

This question evaluates a candidate's competency in SQL data manipulation, covering ranking/top-N queries, aggregations and percentage calculations, t...

Data Manipulation (SQL/Python)
7
0
51 people solved
Feb 21, 2026
Wayfair logo
Wayfair
Easy
Data Scientist Locked

Find top buyer in earliest 10-year window

This question evaluates proficiency in data manipulation and analytical querying with SQL/Python, emphasizing date-based windowing, join operations, a...

Data Manipulation (SQL/Python)
3
0
23 people solved
Feb 18, 2026
Meta logo
Meta
Easy
Data Scientist Locked

Compute this-year spend share of last-year whales

This question evaluates proficiency in data manipulation and analytics engineering, specifically SQL and Python skills for aggregations, joins, calend...

Data Manipulation (SQL/Python)
5
1
41 people solved
Feb 15, 2026
Fetch logo
Fetch
Medium
Data Scientist

Compute a Seven-Day Rolling Average

You are analyzing daily product metrics for the Fetch mobile app. Table daily_metric_values | Column | Type | Description | |---|---:|---| | metric_da...

Data Manipulation (SQL/Python)
2
0
14 people solved
Apr 27, 2026
Point72 logo
Point72
Medium
Data Scientist

Convert Dates to Calendar Quarter Labels in SQL/Python

Transactions +----+-----------+ | id | trans_dt | +----+-----------+ | 1 | 20230115 | | 2 | 20230402 | | 3 | 20230930 | | 4 | 20231201 | +---...

Data Manipulation (SQL/Python)
89
0
164 people solved
Jul 12, 2025
Intuit logo
Intuit
Medium
Data Scientist

Compute Cohort Retention Rate

You are given two tables: - users(user_id BIGINT, signup_ts TIMESTAMP) — one row per user. - user_activity(user_id BIGINT, activity_ts TIMESTAMP, even...

Data Manipulation (SQL/Python)
9
0
64 people solved
Feb 10, 2026
DoorDash logo
DoorDash
Hard
Data Scientist

Calculate Order Request Metrics

You are working with DoorDash order and delivery-request data. Write SQL to answer the questions below. Tables: 1. orders - order_id BIGINT, primary k...

Data Manipulation (SQL/Python)
3
0
43 people solved
Apr 25, 2026
Meta logo
Meta
Medium
Data Scientist

Compute ad revenue metrics by geography in SQL

You work on a marketplace app that shows shop ads. You are given the following tables. Assumptions - All timestamps are stored in UTC. - “Revenue” is ...

Data Manipulation (SQL/Python)
8
0
80 people solved
Oct 14, 2025
Medium
Data Scientist

Design MapReduce and Spark jobs

Big data systems: (a) Explain Hadoop’s fault tolerance (HDFS replication, task re-execution) and why MapReduce includes shuffling and sorting; in a wo...

Data Manipulation (SQL/Python)
2
0
49 people solved
Oct 13, 2025
EY logo
EY
Medium
Data Scientist

Design a data platform enablement

Design a pragmatic data‑platform enablement for a mid‑tier retail bank migrating to cloud under PII and data‑residency constraints. Describe the targe...

Data Manipulation (SQL/Python)
9
0
88 people solved
Oct 13, 2025
Meta logo
Meta
Medium
Data Scientist Locked

Analyze Multiple-Account Users in SQL

This question evaluates a data scientist's ability to perform SQL-level user- and account-level aggregation, grouping, and NULL-aware filtering to com...

Data Manipulation (SQL/Python)
2
0
42 people solved
Feb 9, 2026
Amazon logo
Amazon
Easy
Data Scientist

Find recommended friend pairs by shared listening

Problem (SQL) You work on a music app and want to recommend new friend connections based on listening similarity. Tables Assume the following schemas:...

Data Manipulation (SQL/Python)
9
1
104 people solved
Nov 20, 2025
TikTok logo
TikTok
Easy
Data Scientist

Find top-paid employee per department

Tables Assume the company stores employee compensation by department assignment. employee_dept_salary - employee_id INT - employee_name VARCHAR - depa...

Data Manipulation (SQL/Python)
5
0
88 people solved
Nov 8, 2025
Bytedance logo
Bytedance
Medium
Data Scientist

Campaign Efficiency Metrics and Below-Average CTR

Campaign Efficiency Metrics and Below-Average CTR You are given an ad_campaigns table with one row per campaign: | Column | Type | Meaning | | --- | -...

Data Manipulation (SQL/Python)
1
0
19 people solved
Apr 4, 2026
Meta logo
Meta
Medium
Data Scientist

Compute time-spent percentage by app category

You work on Oculus app engagement analytics. Tables user_activity - user_id (BIGINT) - date (DATE) — day of activity (assume UTC) - app_id (INT) - ses...

Data Manipulation (SQL/Python)
6
0
51 people solved
Aug 17, 2025
Stripe logo
Stripe
Medium
Data Scientist

Design an idempotent SQL ETL for late data

You own the daily_user_metrics fact table. Build an idempotent, rerunnable ETL that can be triggered for any date D and correctly handles duplicates, ...

Data Manipulation (SQL/Python)
1
0
10 people solved
Oct 13, 2025
Medium
Data Scientist

Solve window-function SQL without joins

You must use only window functions (no JOINs). CTEs are allowed. Given the schemas and tiny samples below, write SQL for each sub-question and explain...

Data Manipulation (SQL/Python)
7
0
55 people solved
Oct 13, 2025
Chime logo
Chime
Medium
Data Scientist

Write SQL for noisy A/B launch metrics

PostgreSQL. Today is 2025-09-01. You’re given the following schema and toy samples: users(user_id INT, country TEXT, signup_date DATE, marketing_chann...

Data Manipulation (SQL/Python)
0
0
6 people solved
Oct 13, 2025
Chime logo
Chime
Medium
Data Scientist

Write rolling-window SQL over weekly cohorts

You have two tables: users and transactions. Write a single SQL query (use CTEs) to produce, for each calendar week and user, weekly_revenue, a 4-week...

Data Manipulation (SQL/Python)
1
0
13 people solved
Oct 13, 2025

Explore more Data Scientist Data Manipulation (SQL/Python) interview questions

Real questions from candidate reports, grouped by company, topic and role.

By company
Other categories for Data Scientist
Data Manipulation (SQL/Python) questions for other roles
Browse all