Search ⌘K
Meta
Meta

Foundations Track · Easy · 15 min

Departments Above Average Pay

Use this Meta planning note to work on departments above average pay. Return each department_id whose average salary exceeds the company average salary for M...

Foundations Track
Easy
15 min
query basics

Company labels are directional practice context, not official interview guidance.

Timer 00:00
Back to practice

Objective

Practice query basics through a Meta-tagged business scenario.

Approach

Use this track to lock in clean query structure, basic filtering logic, and confidence with grouped output.

Company context

Company labels are directional practice context, not official interview guidance.

Use this Meta planning note to work on departments above average pay. Return each department_id whose average salary exceeds the company average salary for March 2024. Sort by department_id.

employees
employee_id INT
department_id INT
employee_iddepartment_id
110
210
320
420
530
salary_payments
employee_id INT
payment_date DATE
amount INT
employee_idpayment_dateamount
12024-03-31120000
22024-03-31110000
32024-03-3180000
42024-03-3185000
52024-03-3195000
Editor
SQL workspace

Run queries against the protected question data, then submit once the result shape looks right.

Sign in to run SQL

Create a free account or sign in before running queries against protected question data.