Meta Data Manipulation (SQL/Python) Interview Questions
Meta Data Manipulation (SQL/Python) interview questions are a central part of Meta’s hiring for data scientist, data engineer, and analytics roles and usually emphasize practical, product-focused problem solving over abstract algorithm puzzles. What’s distinctive is the scale and product context: interview problems mirror real-world analytics tasks with messy data, session/event tables, and metrics design. Interviewers evaluate accuracy, clarity, and maintainability of your SQL or pandas code, your handling of edge cases (NULLs, deduplication, sampling), and your ability to explain trade-offs between readability and performance using CTEs, window functions, joins, and vectorized Python operations. For interview preparation, expect a timed technical screen (often using a shared editor) with SQL and Python data-manipulation tasks, followed by deeper loop rounds combining coding, product-metrics reasoning, and behavioral questions. Practice end-to-end problems: translate a product question into concrete metrics, write and optimize queries or pandas pipelines, narrate assumptions, and validate results. Work timed problems in CoderPad-like environments, rehearse clarifying questions, and review common pitfalls such as filter vs HAVING, NULL behavior, and inefficient joins. Regular mock interviews and focused drills on window functions, groupings, merges, and missing-data strategies will give the confidence and fluency Meta typically looks for.

"I got asked a hardcore MCM DP question and I saw it on PracHub as well. Solved that question in 5 minutes. Without PracHub I doubt I could solve it in 5 hours. Though somehow didn't get hired, perhaps I guess I solved it too fast? /s"

"Believe me i'm a student here jn US. Recently interviewed for MSFT. They asked me exact question from PracHub. I saw it the night before and ignored it cause why waste time on random sites. I legit wanna go back and redo this whole thing if I had chance. Not saying will work for everyone but there is certainly some merit to that website. And i'm gonna use it in future prep from now on like lc tagged"

"10 years of experience but never worked at a top company. PracHub's senior-level questions helped me break into FAANG at 35. Age is just a number."

"I was skeptical about the 'real questions' claim, so I put it to the test. I searched for the exact question I got grilled on at my last Meta onsite... and it was right there. Word for word."

"Got a Google recruiter call on Monday, interview on Friday. Crammed PracHub for 4 days. Passed every round. This platform is a miracle worker."

"I've used LC, Glassdoor, and random Discords. Nothing comes close to the accuracy here. The questions are actually current — that's what got me. Felt like I had a cheat sheet during the interview."

"The solution quality is insane. It covers approach, edge cases, time complexity, follow-ups. Nothing else comes close."

"Legit the only resource you need. TC went from 180k -> 350k. Just memorize the top 50 for your target company and you're golden."

"PracHub Premium for one month cost me the price of two coffees a week. It landed me a $280K+ starting offer."

"Literally just signed a $600k offer. I only had 2 weeks to prep, so I focused entirely on the company-tagged lists here. If you're targeting L5+, don't overthink it."

"Coaches and bootcamp prep courses cost around $200-300 but PracHub Premium is actually less than a Netflix subscription. And it landed me a $178K offer."

"I honestly don't know how you guys gather so many real interview questions. It's almost scary. I walked into my Amazon loop and recognized 3 out of 4 problems from your database."

"Discovered PracHub 10 days before my interview. By day 5, I stopped being nervous. By interview day, I was actually excited to show what I knew."

"I recently cleared Uber interviews (strong hire in the design round) and all the questions were present in prachub."
"The search is what sold me. I typed in a really niche DP problem I got asked last year and it actually came up, full breakdown and everything. These guys are clearly updating it constantly."
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...
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,...
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...
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...
Write SQL for 7-day WhatsApp call metrics
Today is fixed as 2025-09-01. Using PostgreSQL, write a single query that returns one row per UTC calendar date for the last 7 days inclusive of today...
Define and analyze new-vs-existing activity
Ambiguous product question: Are existing users more active than new users over the last 28 days (ending today = 2025-09-01)? 1) Propose two reasonable...
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...
Write SQL to infer group-call demand
You are given only 1:1 call logs and a user table. Use SQL to estimate latent demand for a 'Group Call' feature by detecting 10-minute 'call loops' wh...
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...
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...
Analyze New Shops' Activity Compared to Existing Ones
shops +---------+------------+---------------+ | shop_id | created_at | category | +---------+------------+---------------+ | 1 | 2024-01-0...
Write SQL for multi-account metrics
A consumer app allows one user to own multiple accounts. Use SQL to answer the following questions. Assume the database has these tables: accounts - a...
Write SQL for CTR and Revenue
You are given the following tables: ads( ad_id BIGINT, advertiser_id BIGINT, ad_type VARCHAR, -- values include direct and brand ad...
Solve Python and SQL data tasks
Complete both tasks: 1) Python: Implement a function flatten(nested) that takes a list whose elements are integers or arbitrarily nested lists of inte...
Find top 3 books by total borrowed time
Using copies(copy_id, book_id) and checkouts(copy_id, checkout_date, return_date), compute for each book_id the total borrowed duration as the sum ove...
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...
Write SQL filtering, grouping, CASE, UNION tasks
Use the following schema and sample data to answer all parts. Assume standard ANSI SQL and that amounts are DECIMAL. Table: orders +----------+-------...
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...
Write SQL for revenue and advertiser analyses
Use the schema below and ANSI SQL. Treat “today” as 2025-09-01. Schema: - active_ads(date DATE, ad_id INT, advertiser_id INT, creation_source VARCHAR,...
Calculate Total Revenue in USD Using SQL Query
ads_revenue +---------+------------+---------+----------+ | ad_id | country | revenue | currency | +---------+------------+---------+----------+ ...