LeagueApps interview question

2) Join query on table