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

Compute multi-account actives and unread coverage

You have two tables. Table: notifications +--------+------------+------------+-------------------+--------+ | userid | ds | time | notification_type |...

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

Compute feed ad frequency and retention in SQL

Assume today is 2025-09-01. Schema and tiny samples: feed_impressions(impression_id, user_id, impression_time, content_type, feed_position, session_id...

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

Posts and Replies Engagement

Posts and Replies Engagement A content platform stores user-generated posts and the replies that those posts receive. You need to answer two questions...

Data Manipulation (SQL/Python)
0
0
8 people solved
Feb 1, 2026
Meta logo
Meta
Medium
Data Scientist

Find multi-account buckets and unread rate

You are analyzing a product in which one user can own multiple accounts. Use the following schema: Table: accounts - account_id BIGINT - user_id BIGIN...

Data Manipulation (SQL/Python)
6
1
32 people solved
Jan 21, 2026
Meta logo
Meta
Medium
Data Scientist

Write SQL for Pixel Signal Metrics

You are working on Meta Ads Pixel analytics. Assume all timestamps are stored in UTC, and analyze the last 30 complete calendar days. Tables 1. advert...

Data Manipulation (SQL/Python)
4
0
56 people solved
Jan 20, 2026
Meta logo
Meta
Medium
Data Scientist

Compute SHOP spend share and model performance

You work on ads measurement. Advertisers can drive users to either Facebook Shop ('SHOP') or their own website ('WEBSITE'). After an ad is shown, you ...

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

Find the most-used app

You work on Oculus app engagement analytics. Tables user_activity - user_id (BIGINT) - date (DATE) — day of activity (assume UTC unless otherwise spec...

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

Calculate Response Rate and Compare New vs. Existing User Scores

survey_events +---------+------------+-----------+--------------+---------------------+ | user_id | is_new_user| responded | survey_score | event_time...

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

Calculate Distinct High-View Posts and Spam View-Prevalence

content_views | user_id | post_id | view_count | view_date | | 101 | 572 | 3 | 2021-11-01 | | 102 | 732 | 5 | 2021-1...

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

Calculate Ad Performance with Click-Through and Conversion Rates

impressions +---------+---------+---------------------+-----------+ | user_id | ad_id | event_time | platform | +---------+---------+-----...

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

Analyze Mobile Promo Orders with SQL Query and Metrics

orders +-----------+---------+--------------+------------+-----------+----------+ | order_id | user_id | order_amount | order_date | is_mobile | is_p...

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

Analyze Social Media Engagement with SQL Queries

info_stream_views +----------+---------+-----------+-------------------------+-----------------------+------------+ | view_id | post_id | viewer_id |...

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

Calculate Total Revenue in USD Using SQL Query

ads_revenue +---------+------------+---------+----------+ | ad_id | country | revenue | currency | +---------+------------+---------+----------+ ...

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

Retrieve Top Five Ads by Conversions in 30 Days

ads ad_id | advertiser_id | created_at 1 | 101 | 2024-06-01 2 | 102 | 2024-06-03 3 | 101 | 2024-06-10 ​ ad_i...

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

Analyze Top Call Initiators and Active French Video Callers

calls +---------+-----------+-------------+---------------------+---------+-----------+ | call_id | caller_id | receiver_id | call_start_time | co...

Data Manipulation (SQL/Python)
87
0
229 people solved
Aug 4, 2025
Meta logo
Meta
Easy
Data Scientist

Compute reply-based user metrics in 7 days

You are analyzing discussions on a social platform. Tables all_post - post_id (BIGINT, PK) - post_author_id (BIGINT, FK → user.user_id) - post_creatio...

Data Manipulation (SQL/Python)
21
1
174 people solved
Dec 18, 2025
Meta logo
Meta
Medium
Data Scientist

Analyze Hashtag Follow Behavior with SQL Queries

following_behavior +------------+---------+-----------+---------------+ | date | user_id | hashtag_id| hashtag_source| +------------+---------+-...

Data Manipulation (SQL/Python)
5
0
28 people solved
Jul 12, 2025

Explore more Meta Data Scientist interview questions

Real questions from candidate reports, grouped by topic.

Other Meta Data Scientist categories
Browse all
Meta Data Scientist Data Manipulation (SQL/Python) Questions (Updated 2026) — Page 3 | PracHub