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
Amazon logo
Amazon
Medium
Data Scientist

Find Top-3 Salaries Per Department Using SQL

employees +----+---------+--------+---------+ | id | name | salary | dept_id | +----+---------+--------+---------+ | 1 | Alice | 120000 | 10 ...

Data Manipulation (SQL/Python)
0
0
2 people solved
Aug 4, 2025
CloudTrucks logo
CloudTrucks
Medium
Data Scientist

Calculate Average Rate and Cumulative Jobs by State

jobs +--------+---------+-----------+------------+----------------+-------+----------------+---------------+ | job_id | load_id | driver_id | status ...

Data Manipulation (SQL/Python)
0
0
2 people solved
Aug 4, 2025
TikTok logo
TikTok
Medium
Data Scientist

Calculate Monthly Conversion Rate and Average Order Value

page_views +-----------+---------+---------------------+ | user_id | page_id | view_timestamp | +-----------+---------+---------------------+ |...

Data Manipulation (SQL/Python)
0
0
6 people solved
Aug 4, 2025
Adobe logo
Adobe
Medium
Data Scientist

Solve SQL and Python Data Manipulation Tasks

UserEvents +----+---------+------------+------------+ | id | user_id | event_type | event_date | +----+---------+------------+------------+ | 1 | 101...

Data Manipulation (SQL/Python)
0
0
6 people solved
Aug 4, 2025
Meta logo
Meta
Medium
Data Scientist

Rank Ads by Conversion Rate for Top 10 Performers

ad id | advertiser_id | created_at 1 | 101 | 2023-07-01 2 | 102 | 2023-07-05 3 | 101 | 2023-07-10 ​ impression id | a...

Data Manipulation (SQL/Python)
1
0
5 people solved
Aug 4, 2025
Robinhood logo
Robinhood
Medium
Data Scientist

Identify Top Users with Declined Transactions in SQL

Transactions +----------------+---------+--------+----------+---------------------+ | transaction_id | user_id | amount | status | timestamp ...

Data Manipulation (SQL/Python)
0
0
8 people solved
Aug 4, 2025
Amazon logo
Amazon
Medium
Data Scientist

Create SQL Queries for Sales and Customer Analysis

SALES +----------+----------+------------+------------+----------+---------+ | sale_id | store_id | product_id | sale_date | quantity | revenue | +-...

Data Manipulation (SQL/Python)
0
0
6 people solved
Aug 4, 2025
DoorDash logo
DoorDash
Medium
Data Scientist

Analyze Driver Requests for Food Delivery Orders

ORDER_TABLE order_id | restaurant_id | created_at | total_value 1 | 101 | 2024-06-01 12:01 | 45.50 2 | 102 ...

Data Manipulation (SQL/Python)
2
0
13 people solved
Aug 4, 2025
Gusto logo
Gusto
Medium
Data Scientist

Calculate Net Pay Change for Q1 2023 Decreases

EMPLOYEES +-------------+------------+-------+ | employee_id | hire_date | state | +-------------+------------+-------+ | 101 | 2022-04-01 | ...

Data Manipulation (SQL/Python)
0
0
3 people solved
Aug 4, 2025
Boston Consulting Group logo
Boston Consulting Group
Medium
Data Scientist

Merge and Clean Customer Order Data for Analysis

customers +----+---------+---------+ | id | name | country | +----+---------+---------+ | 1 | Alice | US | | 2 | Bob | UK | | 3 ...

Data Manipulation (SQL/Python)
0
0
7 people solved
Aug 4, 2025
PayPal logo
PayPal
Medium
Data Scientist

Explain Window Functions and Joins in SQL and Python

TABLE transactions | transaction_id | user_id | merchant | amount | currency | transaction_ts | | 1001 | 17 | Walmart | 45.80...

Data Manipulation (SQL/Python)
0
0
7 people solved
Aug 4, 2025
PayPal logo
PayPal
Medium
Data Scientist

Calculate and Find Average Contacts and Sync Percentage

dw_peers +--------------+---------------+-------------+ | user_id | synced_contact| date_synced | +--------------+---------------+-------------+ ...

Data Manipulation (SQL/Python)
0
0
5 people solved
Aug 4, 2025
PayPal logo
PayPal
Medium
Data Scientist

Identify Users with Specific Page Navigation Patterns

page_visits +------------+---------+---------+---------------------+ | visit_date | user_id | page_id | ts | +------------+---------+...

Data Manipulation (SQL/Python)
0
0
11 people solved
Aug 4, 2025
Meta logo
Meta
Medium
Data Scientist

Calculate Daily Visibility Score for Each Shop

shop_events | user_id | event_time | event_type | product_id | shop_id | |---------|------------|------------|------------|---------| | 101 | 2023...

Data Manipulation (SQL/Python)
1
0
8 people solved
Aug 4, 2025
Boston Consulting Group logo
Boston Consulting Group
Medium
Data Scientist

Merge and Concatenate Inconsistent Order Files with Pandas

orders_2023 +----------+-------------+--------+ | order_id | customer_id | amount | +----------+-------------+--------+ | 101 | C001 | 120...

Data Manipulation (SQL/Python)
0
0
10 people solved
Aug 4, 2025
Meta logo
Meta
Medium
Data Scientist

Determine Unhealthy Oculus Usage with SQL Analysis

oculus_sessions +---------+---------------------+---------------------+---------+------------+ | user_id | session_start | session_end |...

Data Manipulation (SQL/Python)
0
0
5 people solved
Aug 4, 2025
Meta logo
Meta
Medium
Data Scientist

Calculate Daily Harmful Content View Percentage

VIDEOS +----+-------------+------------+ | id | uploader_id | is_harmful | +----+-------------+------------+ | 1 | 101 | true | | 2 | ...

Data Manipulation (SQL/Python)
0
1
7 people solved
Aug 4, 2025
Meta logo
Meta
Medium
Data Scientist

Identify Shops with Low Weekly Visibility Rates

SHOP_VISIBILITY +-----------+---------+------------+---------+ | shop_id | user_id | view_date | visible | +-----------+---------+------------+----...

Data Manipulation (SQL/Python)
0
0
2 people solved
Aug 4, 2025
Upstart logo
Upstart
Medium
Data Scientist

Calculate User Revenue and Session Duration in Python

events +---------+------------+---------+---------------------+ | user_id | event_type | revenue | timestamp | +---------+------------+-----...

Data Manipulation (SQL/Python)
1
0
12 people solved
Aug 4, 2025
Boston Consulting Group logo
Boston Consulting Group
Medium
Data Scientist

Visualize and Clean SKU Sales Data for Outliers

sales_data +------------+--------+-----------+----------+------------+---------+ | date | sku_id | unit_sold | revenue | promo_flag | store_id|...

Data Manipulation (SQL/Python)
0
0
5 people solved
Aug 4, 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