CREATE TABLE "premier_league" (
  "team" text,
  "head_coach" text,
  "president" text,
  "home_ground" text,
  "location" text
);

Question: Who is the head coach of the team located in Mudgeeraba?
SQL: SELECT "head_coach" FROM "premier_league" WHERE "location"='mudgeeraba';

Question: Who is the President of the team that has the Head Coach Mark Wakeling?
SQL: SELECT "president" FROM "premier_league" WHERE "head_coach"='mark wakeling';

Question: Who is the Head Coach of the team whose President is Mario Volarevic?
SQL: SELECT "head_coach" FROM "premier_league" WHERE "president"='mario volarevic';

Question: Which team's Head Coach is Steve Beever?
SQL: SELECT "team" FROM "premier_league" WHERE "head_coach"='steve beever';