Apple
Foundations Track · Easy · 15 min
Duplicate Job Posts
Apple wants a scorecard for duplicate job posts. Return the number of employers that posted the same role_name in the same city more than once during April 2...
Company labels are directional practice context, not official interview guidance.
Objective
Practice query basics through a Apple-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.
Apple wants a scorecard for duplicate job posts. Return the number of employers that posted the same role_name in the same city more than once during April 2024. Name the output employers_with_duplicates.
job_posts
| job_id | employer_id | role_name | ||
|---|---|---|---|---|
| 1 | 10 | Courier | Austin | 2024-04-01 |
| 2 | 10 | Courier | Austin | 2024-04-03 |
| 3 | 10 | Picker | Austin | 2024-04-05 |
| 4 | 11 | Courier | Boston | 2024-04-02 |
| 5 | 12 | Dispatcher | Denver | 2024-04-06 |
| 6 | 12 | Dispatcher | Denver | 2024-04-08 |
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.