CREATE TABLE "head_coaches" (
  "name" text,
  "years" text,
  "seasons" real,
  "lost" real,
  "pct" real
);

Question: What is the name of the head coach of 1974?
SQL: SELECT "name" FROM "head_coaches" WHERE "years"='1974';

Question: What is the average number of seasons for Terri Drake who lost less than 9?
SQL: SELECT AVG("seasons") FROM "head_coaches" WHERE "name"='terri drake' AND "lost"<9;

Question: What is the lowest number of seasons that the head coach of 1982 had with larger than 9 losses?
SQL: SELECT MIN("seasons") FROM "head_coaches" WHERE "years"='1982' AND "lost">9;