Skip to content

Why These 30?

Hand-curated for maximum interview ROI.

A 6-Round Meta Onsite Simulator

Six rounds that map exactly to Meta’s data loop — Tech Phone Screen → SQL & Data Modeling → Analytical Execution → Product Sense & Metrics → Behavioral. Stage names taken from real 2025–2026 candidate reports.

Analytical Execution — Meta’s Signature Round

Meta is the only FAANG that combines statistics, metric design, and live diagnosis into one 60-minute round. Stage 4 is built specifically for that — you don’t just write the query, you reason about what it tells you.

A Social-Graph Schema Modeled on Meta

Every question runs on a production-grade 9-table social-graph schema — users, relationships, posts, comments, reactions, messages, group memberships, moderation reports. The exact data shape Meta analysts work with.

Skill Coverage

How the 30 problems distribute across SQL topics.

Single-Table Filtering & Aggregation
4
Multi-Table JOIN (2–5 tables)
6
Conditional Aggregation (SUM CASE / Conditional Rate)
3
Anti-Join (NOT EXISTS / LEFT+IS NULL)
1
RANK / DENSE_RANK Window Functions
3
ROW_NUMBER Top-N Within Group
1
SUM OVER / Running Total
1
AVG OVER ROWS BETWEEN / Moving Average
2
Islands-and-Gaps / Streak Detection (date − ROW_NUMBER)
1
LAG + Cumulative-SUM Sessionization (30-min idle timeout)
1
PERCENT_RANK / Percentile Bucketing
1
Self-Join (mutual / friend-of-friend)
1
A/B Test Reads (variant comparison + significance)
3
Cohort Retention (DAU / WAU / MAU)
1
Recursive CTE (comment-thread depth)
1
Multi-CTE Composite Scorecards (4-6 CTEs)
5

FAQ

No. This collection is not affiliated with, endorsed by, or sponsored by Meta, Facebook, Instagram, WhatsApp, Threads, or Reels.

The 30 problems are designed to mirror the analytical patterns publicly reported in Meta SQL interviews — sourced from our curated catalog, curated down to the 30 best-matched problems for the Meta loop.

Production-grade schemas are modeled on Meta's two business surfaces: social graph (users, posts, comments, reactions, follows, groups, messages, moderation) and digital advertising (advertisers, campaigns, creatives, impressions, clicks, conversions, attribution).

"Meta-style" describes the format and pattern coverage, nothing more.

Ready for your Meta interview?

Start with Stage 1 — graded instantly in your browser.

All company names, logos, and trademarks are the property of their respective owners. Their use is for identification purposes only and does not imply endorsement.

LDS Meta-Style SQL 3030 Curated SQL Problems

A round-by-round walk through Meta's data interview loop, including the Analytical Execution round that no other FAANG splits out into its own slot. Schemas mirror Meta's social-graph and ad surfaces, and every Hard and Expert problem carries a probing-depth section for IC6 candidates who'll be asked to scale the same query to 3B users. Not affiliated with Meta; built from publicly reported 2025–2026 loops.

Problems included in LDS Meta-Style SQL 30

  1. Public Link Posts
  2. Most Recent Direct Messages (Newest First)
  3. Public Published Posts
  4. Posts with Author Username
  5. Active Campaigns With Advertiser Industry
  6. Active Users in Target Countries
  7. Average Comments per Post by Visibility
  8. Invalid Click Rate by Campaign Type
  9. Users With More Than Five Followers
  10. Rank Users by Follower Count
  11. Rank Campaigns by Spend per Advertiser
  12. Top Post by Reactions per User
  13. Running Total of Daily New Posts
  14. Monthly Comment Moving Average
  15. Published Posts Without Reactions
  16. Mutual Follow Pairs
  17. Top Users by Longest Consecutive-Day Engagement Streak
  18. Stitch Messaging Sessions Using a 30-Minute Idle Timeout
  19. Weekly User Activity Retention by First-Post Cohort
  20. Post Visibility A/B Test — Reaction Rate by Variant
  21. Creative Type A/B Test — CTR by Variant
  22. Campaign CTR With 7-Day Moving Avg
  23. Conversion Value Percentile by Type
  24. A/B Significance Sanity Check (Z-score)
  25. Content Virality Report
  26. Group Health Dashboard
  27. User Influence Scorecard
  28. Top Deepest Comment Threads
  29. Platform Trust and Safety Report
  30. Complete User Engagement Dashboard