PracHub
QuestionsLearningGuidesInterview Prep

Quick Overview

This question evaluates proficiency in SQL-based data manipulation and aggregation, time-window filtering, percentage calculations, and the application of basic statistical hypothesis testing for comparing user engagement across categories.

  • medium
  • Meta
  • Data Manipulation (SQL/Python)
  • Data Scientist

Analyze Oculus App Engagement with SQL Queries

Company: Meta

Role: Data Scientist

Category: Data Manipulation (SQL/Python)

Difficulty: medium

Interview Round: Onsite

AppUsage +---------+--------+-----------+--------------+------------+ | user_id | app_id | category | minutes_spent| usage_date | +---------+--------+-----------+--------------+------------+ | 101 | 12 | Social | 45 | 2023-04-15 | | 102 | 17 | Game | 30 | 2023-04-16 | | 101 | 17 | Game | 20 | 2023-04-17 | | 103 | 22 | Fitness | 25 | 2023-04-17 | | 104 | 12 | Social | 60 | 2023-04-18 | +---------+--------+-----------+--------------+------------+ ##### Scenario Analyzing Oculus app engagement over the last 30 days ##### Question Write SQL to find the most used app (total minutes) in the past 30 days. Write SQL to compute the percentage of time spent in each app category in the past 30 days. How would you test the hypothesis that users of the "Social" category are more regularly engaged than "Game" users? ##### Hints Use date filters, aggregates, window functions; propose a statistical test.

Quick Answer: This question evaluates proficiency in SQL-based data manipulation and aggregation, time-window filtering, percentage calculations, and the application of basic statistical hypothesis testing for comparing user engagement across categories.

Last updated: Mar 29, 2026

Loading coding console...

PracHub

Master your tech interviews with 9,000+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • AI Coding Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.

Related Coding Questions

  • Calculate Daily Survey Response Rates by Country - Meta (medium)
  • Compare Survey Satisfaction for New and Established Users - Meta (medium)
  • Find A Low-Quality Annotator From Label Data - Meta (hard)
  • Analyze Thirty-Day Ad Performance with SQL - Meta (medium)
  • Compute Each Advertiser's Share of Shop Ad Spend - Meta (medium)