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

Label new vs old users over time in SQL

Define users as “new” during the first 30 days inclusive after their signup_date, and “old” thereafter. Produce per-user, per-day labels over a window...

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

Compute daily post success rate for last 7 days

You have a table composer(user_id INT, event STRING CHECK(event IN ('enter','post','cancel')), event_date DATE). Compute the post success rate for eac...

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

Write SQL to compute shop visibility share

Assume today is 2025-09-01. Compute the top 3 shops by average daily visibility share over the last 7 days (2025-08-26 to 2025-09-01, inclusive) for U...

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

Produce dating profile funnel report by cohort

You work on a dating app. Produce a daily profile-funnel report for 2025-08-25 through 2025-09-01 inclusive, with one row per day, gender, and age_buc...

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

Write SQL to analyze Group Calls adoption

Write SQL (assume PostgreSQL) to analyze Group Calls adoption and cannibalization. Use this schema and sample data. Schema: - users(user_id INT PRIMAR...

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

Write SQL for initiators and French DAU%

You are given the following PostgreSQL tables. Assume all timestamps are UTC and "today" is 2025-09-01. For any reference to "last 7 days," use the in...

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

Write advanced SQL for sales support analytics

Write SQL for the following schema and tasks. Assume ANSI SQL with DATE_TRUNC and INTERVAL supported. Sample tables (minimal rows shown). accounts +--...

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

Compute shop visibility and intent metrics in SQL

Schema (PostgreSQL). Tables: users(user_id) shops(shop_id, shop_name, merchant_type) posts(post_id, shop_id, is_shoppable BOOLEAN, created_at TIMESTAM...

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

Compute 7-day views and reactions by relationship

Use the schemas and sample data below to answer two tasks. Assume dates are strings in 'YYYY-MM-DD'. Treat "today" as 2025-09-01; "last/past 7 days" m...

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

Compute view prevalence from views and labels

Given the tables below, write SQL to compute view prevalence of violating content. Use “today” = 2025-09-01 and report the last 7 days (2025-08-26 to ...

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

Identify 3-Person Call Cycles in Video-Calling App

Calls callerid | recipientid | ds | call_id | duration 1001 | 2001 | 2023-02-20| 555 | 180 2001 | 3001 | 2023-02-20| ...

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

Compute Effective Reads with SQL and Python Streaming

post_read_events +----------+---------+-----------+---------+--------------------+---------------------+---------------------+ | event_id | user_id | ...

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

Analyze Seller Activity and Vehicle Listing Interactions

Analyze Seller Activity and Vehicle Listing Interactions listing_interaction +-----------+-----------+------------+------------+----+ | buyer_id | se...

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

Calculate Shop Visibility Ranking in Search Results

shop_impressions +------------+---------+----------+--------+ | date | shop_id | position | clicks | +------------+---------+----------+--------...

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

Analyze User Engagement and Spammer Read-Rate in SQL

messages +------------+------------+-------------+--------------+-----------+ | sender_id | receiver_id| message_id | sent_date | read_date | +--...

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

Calculate Average Session Duration and Performance Metrics

user_sessions +---------+------------+------+---------------------+---------------------+ | user_id | session_id | app | start_time | end_ti...

Data Manipulation (SQL/Python)
1
0
6 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
6 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
8 people solved
Aug 4, 2025
Meta logo
Meta
Medium
Data Scientist

Generate Daily Unique User Views for Each Shop

shop_views +---------+---------+---------------------+ | user_id | shop_id | view_time | +---------+---------+---------------------+ | 101 ...

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

Improve YoY Revenue Analysis with Complementary Metrics

ads_revenue +------------+-----------+ | date | revenue | +------------+-----------+ | 2023-01-01 | 120000 | | 2023-02-01 | 125500 | | 2...

Data Manipulation (SQL/Python)
101
0
241 people solved
Aug 4, 2025

Explore more Meta Data Scientist interview questions

Real questions from candidate reports, grouped by topic.

Other Meta Data Scientist categories
Browse all