Meta Data Scientist Data Manipulation (SQL/Python) Interview Questions

Practice 151 real Data Manipulation (SQL/Python) interview questions for Data Scientist roles at Meta.

151 Questions 1 Company07.06.2026
Showing 20 results
Role
Meta logo
Meta
Medium
Data Scientist

Calculate and Compare Survey Response Rates for User Tenure

Surveys +--------+------------+--------------+----------+ | userid | date | survey_event | response | +--------+------------+--------------+----...

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

Write SQL for multi-account metrics

This question evaluates proficiency in SQL for multi-table aggregation, grouping, joins, and conditional counting within a user-account-notification s...

Data Manipulation (SQL/Python)
7
1
52 people solved
Mar 16, 2026
Meta logo
Meta
Medium
Data Scientist Locked

Write SQL for CTR and Revenue

This question evaluates proficiency in SQL-based data manipulation and analytics, focusing on joins across event and reference tables, time-of-day buc...

Data Manipulation (SQL/Python)
13
1
92 people solved
Mar 12, 2026
Meta logo
Meta
Hard
Data Scientist

Compute High-Call Usage Rates

You are given two tables for a voice-calling product: users - user_id BIGINT - country_code STRING calls - call_id BIGINT - caller_id BIGINT - recipie...

Data Manipulation (SQL/Python)
3
0
30 people solved
Mar 4, 2026
Meta logo
Meta
Medium
Data Scientist Locked

Analyze spend and creation-source shifts

This question evaluates a data scientist's competency in SQL-based data manipulation, time-series aggregation, joins, and metric computation for analy...

Data Manipulation (SQL/Python)
7
0
58 people solved
Mar 1, 2026
Meta logo
Meta
Medium
Data Scientist

Retrieve Ad Metrics and Rates for Last 7 Days

ads +--------+---------------+----------+ | ad_id | advertiser_id | ad_type | +--------+---------------+----------+ | 101 | 1001 | image...

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

Analyze Recent User Activity from Video Call Logs

video_calls caller | recipient | ds | call_id | duration 123 | 456 | 2019-01-01 | 4325 | 864.4 032 | 789 | 2019-01-01 | 9395 | 263.7 456 | 032 | 2019-...

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

Analyze Oculus App Engagement with SQL Queries

AppUsage +---------+--------+-----------+--------------+------------+ | user_id | app_id | category | minutes_spent| usage_date | +---------+--------...

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

Find least active countries

This question evaluates proficiency in SQL-based data manipulation and analytics, focusing on time-based filtering, distinct aggregation, grouping, th...

Data Manipulation (SQL/Python)
4
1
43 people solved
Feb 22, 2026
Meta logo
Meta
Medium
Data Scientist

Compute Shop Visibility Rate Using SQL and Python

shop_events | event_id | shop_id | user_id | event_type | event_time | | 1 | 101 | 1001 | view | 2023-07-01 10:05:00 | | ...

Data Manipulation (SQL/Python)
73
0
173 people solved
Jul 12, 2025
Meta logo
Meta
Medium
Data Scientist Locked

Write SQL for seller and category metrics

This question evaluates proficiency in SQL data manipulation—principally joins, aggregations, grouping, filtering, date arithmetic, and safe handling ...

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

Write SQL/pandas for KPI anomaly

Write SQL (and outline equivalent pandas) for a KPI anomaly investigation. Assume today = '2025-09-01'. Schema: Users(user_id INT, country TEXT, signu...

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

Write dating profile report with final reviews

Today is 2025-09-01. You need a daily dating-profile quality and engagement report that only includes profiles whose latest version has a final approv...

Data Manipulation (SQL/Python)
8
0
56 people solved
Oct 13, 2025
Meta logo
Meta
Medium
Data Scientist

Compute CTR overall and by campaign type

Write SQL to compute: (Q1) overall click-through rate (CTR = clicks/impressions) in the last week; (Q2) CTR by campaign_type in the last week. Assume ...

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

Compute unconnected 60s posts and reactions averages

Given these tables and sample data, write SQL that answers both tasks below. Use today = 2025-09-01 and interpret "last/past 7 days" as the inclusive ...

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

Define and compute shop visibility in SQL

You own the 'shop visibility' KPI for a marketplace. Define a precise metric and write SQL to compute it over the last 7 days (use today = 2025-09-01,...

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

Compute unread and multi-account user percentages

You’re given two tables. Write ANSI-SQL to answer parts (a)–(d). Treat a notification as unread if read_at IS NULL. Denominator for user-level percent...

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

Compute callers contacting >3 people last 7 days

Using the schema below, write a single SQL query to return the number of unique callers who started calls with more than 3 distinct other users during...

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

Write SQL for social feed metrics and ties

You are given the following schema (PostgreSQL) and sample rows. Assume UTC timestamps and that friendships are static over the sample window. users(u...

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

Compute multi-account activity and unread percentages in SQL

You are given two tables. Use them as the source of truth and do not assume any other data. Table: notifications +--------+------------+------------+-...

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

Explore more Meta Data Scientist interview questions

Real questions from candidate reports, grouped by topic.

Other Meta Data Scientist categories
Browse all