Fan Count per Concert
The promoter is consolidating attendance: for each tour leg show its id and the number of fans who attended. If nobody attended, still include that leg with a zero so the gap is visible.
Expected output sample
This is what a correct answer looks like — its row count is its own, it doesn't have to match the schema tables.
| tour_id | fan_count |
|---|---|
| 1 | 4 |
| 2 | 3 |
| 3 | 2 |
Sign in to see submission history
Sign inSign in to use AI Mentor
Sign in