Start writing league table query. Needs splitting into results query and goals query