Software Engineer Data Manipulation (SQL/Python) Interview Questions

Practice 55 real Data Manipulation (SQL/Python) interview questions for Software Engineer roles. From companies including Amazon, NVIDIA, DoorDash, Akuna Capital, Stripe.

55 Questions 34 Companies07.14.2026
Showing 15 results
Role
Instacart logo
Instacart
Medium
Software Engineer

Pivot transactions by date without date libs

Given a stream of transaction rows (shopper_id, date_str, amount) where date_str is ISO format 'YYYY-MM-DD', produce a pivoted report for a specified ...

Data Manipulation (SQL/Python)
0
0
8 people solved
Sep 6, 2025
Stripe logo
Stripe
Medium
Software Engineer

Compute costs with validation and sorting in Python

Implement a three-part Python task to compute costs for purchase line items. Part 1: Write compute_cost(line_items, price_db) where line_items is a li...

Data Manipulation (SQL/Python)
1
0
9 people solved
Sep 6, 2025
DoorDash logo
DoorDash
Medium
Software EngineerSenior+

Compute dasher pay from deliveries

Given a list of delivery events for dashers (e.g., dasherId, pickupTime, dropoffTime, distance, tip, and optional bonuses) and a set of pay rules (e.g...

Data Manipulation (SQL/Python)
0
0
8 people solved
Sep 6, 2025
MathWorks logo
MathWorks
Medium
Software Engineer

Calculate cost from orders with SQL

You have two tables: orders(order_id INT, user_id INT, order_date DATE, quantity INT, unit_price DECIMAL, coupon_code VARCHAR) and coupons(code VARCHA...

Data Manipulation (SQL/Python)
0
0
8 people solved
Sep 6, 2025
Jane Street logo
Jane Street
Medium
Software Engineer

Use Excel formulas to compute haircuts

You are given an Excel worksheet with columns such as Asset, Market Value, and Haircut %. Using only cell references (no copy-paste of numeric values)...

Data Manipulation (SQL/Python)
0
0
7 people solved
Sep 6, 2025
Microsoft logo
Microsoft
Medium
Software Engineer

Compute most popular location with weights

You are given a dataset of voting records for concert locations. Each record includes voter_id, location_text, and an optional numeric weight (default...

Data Manipulation (SQL/Python)
0
0
7 people solved
Sep 6, 2025
Kikoff logo
Kikoff
Medium
Software Engineer

Parse CSV and format transactions

Given a CSV file containing many transactional records with columns Merchant, Amount, Date (YYYY-MM-DD), and Status, write a script to parse the file ...

Data Manipulation (SQL/Python)
1
0
14 people solved
Aug 12, 2025
Reevo logo
Reevo
Medium
Software Engineer

Count sports by calendar quarter in SQL

You are given a table games(date DATE, team_name TEXT, sport_name TEXT). Write a SQL query that returns, for each year and calendar quarter (Q1–Q 4), ...

Data Manipulation (SQL/Python)
0
0
5 people solved
Aug 12, 2025
Reevo logo
Reevo
Medium
Software Engineer

Fetch and aggregate paginated team data via API

Implement a function getTopTeams(baseUrl, n) that calls a paginated HTTP API returning a JSON array of team objects on each page: [{"name": string, "w...

Data Manipulation (SQL/Python)
0
0
7 people solved
Aug 12, 2025
Instacart logo
Instacart
Medium
Software Engineer

Pivot data without date libraries

Transform a tall dataset into a wide, pivoted view without using any date/time libraries. Input: a list of records (date, store_id, metric, value) whe...

Data Manipulation (SQL/Python)
0
0
11 people solved
Jul 31, 2025
Kneron logo
Kneron
Medium
Software Engineer

Count IoT devices matching date and threshold

Implement function numDevices(statusQuery, threshold, dateStr) that returns the number of IoT devices from a paginated REST API that were added in the...

Data Manipulation (SQL/Python)
0
0
8 people solved
Jul 26, 2025
Amazon logo
Amazon
Medium
Software Engineer

Compute unique visitors by department

You have two tables: products(product_id, department, category, subcategory) where department > category > subcategory form a parent–child hierarchy, ...

Data Manipulation (SQL/Python)
0
0
8 people solved
Jul 26, 2025
Bloomberg logo
Bloomberg
Medium
Software Engineer

Create SQL report of top extensions by weekday

You are given a PostgreSQL table service_access_log with columns: method TEXT (HTTP verb), path TEXT (URL path that may include a filename and optiona...

Data Manipulation (SQL/Python)
0
0
4 people solved
Jul 26, 2025
TikTok logo
TikTok
Medium
Software Engineer

Write complex SQL for cohorts and retention

Given tables users(uid, created_at, country), orders(order_id, uid, amount, created_at, status), and events(uid, ts, event_type, campaign), write one ...

Data Manipulation (SQL/Python)
0
0
9 people solved
Jul 15, 2025
Affirm logo
Affirm
Medium
Software Engineer

Implement and debug event filtering in Python

You are given a list of event dictionaries with keys: id (str), type (str), ts (int, seconds since epoch), payload (dict). Implement filter_events(eve...

Data Manipulation (SQL/Python)
1
0
5 people solved
Jul 15, 2025

Explore more Software Engineer Data Manipulation (SQL/Python) interview questions

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

Other categories for Software Engineer
Data Manipulation (SQL/Python) questions for other roles
Browse all