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

Analyze Conversation Engagement and Reaction Usage Effectively

messages +-----------+--------+----------+--------------+---------------------+ | messageid | sender | receiver | has_reaction | timestamp |...

Data Manipulation (SQL/Python)
173
3
406 people solved
Jul 12, 2025
Meta logo
Meta
Medium
Data Scientist

Calculate Weekly Thread Engagement with Reactions in SQL

messages +------------+--------+----------+--------------+---------------------+ | message_id | sender | receiver | has_reaction | timestamp ...

Data Manipulation (SQL/Python)
79
0
193 people solved
Jul 12, 2025
Meta logo
Meta
Medium
Data Scientist

Analyze Recent User Engagement in Video Calls

calls +-----------+-----------+---------------------+---------+---------+ | caller_id | callee_id | call_start_timestamp| country | call_id | +-------...

Data Manipulation (SQL/Python)
83
0
261 people solved
Jul 12, 2025
Meta logo
Meta
Medium
Data Scientist

Calculate Video Call Usage Metrics by Country and Date

video_calls +---------+-----------+------------+---------+----------+ | caller | recipient | ds | call_id | duration | +---------+-----------...

Data Manipulation (SQL/Python)
83
0
152 people solved
Jul 12, 2025
Meta logo
Meta
Medium
Data Scientist

Analyze Recent Calling Behavior in France Using SQL

CALLS +---------+---------+---------------------+-------------------+----------+ | call_id | user_id | call_start_time | participant_cnt | is_vi...

Data Manipulation (SQL/Python)
68
0
186 people solved
Jul 12, 2025
Meta logo
Meta
Medium
Data Scientist

Identify Unique Callers and French Customer Call Percentage

video_calls +---------+-----------+--------------+---------------------+---------------+ | call_id | caller_id | recipient_id | start_ts | ...

Data Manipulation (SQL/Python)
87
0
278 people solved
Jul 12, 2025
Meta logo
Meta
Medium
Data Scientist

Calculate Total Interactions for Each Product

Interactions +----------+-----------+------------+--------------+ | buyer_id | seller_id | product_id | interactions | +----------+-----------+-------...

Data Manipulation (SQL/Python)
56
0
183 people solved
Jul 12, 2025
Meta logo
Meta
Medium
Data Scientist

Analyze New Shops' Activity Compared to Existing Ones

shops +---------+------------+---------------+ | shop_id | created_at | category | +---------+------------+---------------+ | 1 | 2024-01-0...

Data Manipulation (SQL/Python)
53
0
10 people solved
Jul 12, 2025
Meta logo
Meta
Easy
Data Scientist

Compute percent of active users with 50+ calls

Problem You work on a Messenger-like app. You want to measure how many active users in Great Britain (GB) today have been heavy callers recently. Tabl...

Data Manipulation (SQL/Python)
8
1
110 people solved
Dec 8, 2025
Meta logo
Meta
Medium
Data Scientist

Write SQL to analyze shop visibility

You are given two tables. Use standard SQL (window functions allowed). Assume "today" is 2025-09-01 and that “currently visible” means a shop’s last s...

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

Write SQL for daily chats and fast replies

You are given a messaging events table that records one row per message sent. Schema - messages( date DATE, -- calendar date of event (UTC) ts TIMES...

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

Define and query shop visibility

You are given the following schema. Use only the columns provided; do not introduce new fields or labels. Tables and columns: - shops(shop_id INT, sho...

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

Write SQL for hashtag source and safety rates

Write SQL for the two tasks below. Assume the schema and sample data as given, and that “today” is 2025‑09‑01. Deduplicate exact duplicates by (date, ...

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

Compute video-call SQL metrics with edge cases

Use 'today' = 2025-09-01. Assume UTC timestamps. Write SQL to answer both parts below and call out how your queries handle edge cases (duplicates, fai...

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

Write SQL to analyze group-call concurrency

You are given call data and must compute group-call metrics. Schema (timestamps are UTC): Tables: - calls(call_id INT PRIMARY KEY, host_user_id INT, s...

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

Write SQL for visibility, calls, and cohort activity

You have the following schema and toy data. Assume "today" = 2025-09-01. users(user_id INT, signup_date DATE) Sample: user_id | signup_date -------...

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

Calculate survey response and quality metrics in SQL

Compute survey response-rate and quality metrics from event data. Assume "today" = 2025-09-01, and compute over the last 7 days (2025-08-26 to 2025-09...

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

Write SQL for retention, conversion, and churn

Assume today is 2025-09-01 (use the user's local day boundaries based on users.tz). Given the following schema and sample data, write SQL to: (a) Comp...

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

Write SQL for shop visibility and activity metric

Assume 'today' is 2025-09-01. Schema and tiny samples: 1) shops(shop_id INT, created_at DATE) Sample: shop_id | created_at 1 | 2025-08-25 2 | 2025...

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

Compute survey rates and bias-correct ratings

Today is 2025-09-01. Use the schema and sample data below to answer A and B with SQL (standard SQL; you may use CTEs and window functions). Assume tim...

Data Manipulation (SQL/Python)
3
0
56 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