CREATE TABLE "membership" (
  "school" text,
  "location" text,
  "mascot" text,
  "enrollment" real,
  "ihsaa_class" text,
  "county" text,
  "year_joined" real
);

Question: Which Year Joined has an Enrollment smaller than 726, and a School of tri-west?
SQL: SELECT MAX("year_joined") FROM "membership" WHERE "enrollment"<726 AND "school"='tri-west';

Question: What is lebanon's enrollment?
SQL: SELECT AVG("enrollment") FROM "membership" WHERE "school"='lebanon';

Question: What is the enrollment of the school whose mascot is hot dogs?
SQL: SELECT SUM("enrollment") FROM "membership" WHERE "mascot"='hot dogs';

Question: When did crawfordsville join?
SQL: SELECT MAX("year_joined") FROM "membership" WHERE "location"='crawfordsville';