CREATE TABLE "basketball_titles_by_school" (
  "team" text,
  "season" text,
  "regular_season" real,
  "tournament" real,
  "total" real
);

Question: What is the total for the school with over 2 tournaments and 1 regular season title?
SQL: SELECT AVG("total") FROM "basketball_titles_by_school" WHERE "tournament">2 AND "regular_season"=1;

Question: How many tournament titles for texas with over 0 total?
SQL: SELECT COUNT("tournament") FROM "basketball_titles_by_school" WHERE "total">0 AND "team"='texas';

Question: What season for the team with over 2 tournaments and 13 regular season titles?
SQL: SELECT "season" FROM "basketball_titles_by_school" WHERE "tournament">2 AND "regular_season"=13;

Question: How many tournament titles for iowa state with 3 total titles?
SQL: SELECT MAX("tournament") FROM "basketball_titles_by_school" WHERE "total"=3 AND "team"='iowa state';