CREATE TABLE "team" (
  "school_year" text,
  "class_a" text,
  "class_aa" text,
  "class_aaa" text,
  "class_aaaa" text,
  "class_aaaaa" text
);

Question: Who was the Class AAAA champion in 2006-07?
SQL: SELECT "class_aaaa" FROM "team" WHERE "school_year"='2006-07';

Question: How many times was there a class A winner when Gregory-Portland was the class AAAA?
SQL: SELECT COUNT("class_a") FROM "team" WHERE "class_aaaa"='Gregory-Portland';

Question: How many Class AAAA winners where in 2002-03?
SQL: SELECT COUNT("class_aaaa") FROM "team" WHERE "school_year"='2002-03';

Question: Who was the class AAAAA in 2008-09?
SQL: SELECT "class_aaaaa" FROM "team" WHERE "school_year"='2008-09';

Question: Who was the Class AA winner when Plains was Class A winner and Lubbock was Class AAAAA winner?
SQL: SELECT "class_aa" FROM "team" WHERE "class_a"='Plains' AND "class_aaaaa"='Lubbock';

Question: Who was the Class A winner in 2006-07?
SQL: SELECT "class_a" FROM "team" WHERE "school_year"='2006-07';