PracHub
QuestionsPremiumCoachesLearningGuidesInterview 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 8,500+ real questions from top companies.

Product

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

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL 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

  • Compute ad impression conversion rates - Meta (medium)
  • Count unconnected posts and reactions - Meta (medium)
  • Count heavy callers in 7 days - Meta (medium)
  • Write SQL for call metrics - Meta (medium)
  • Write SQL for multi-account metrics - Meta (medium)