Start writing league table query