CREATE TABLE "institutions" (
  "school" text,
  "main_location" text,
  "control" text,
  "type" text,
  "enrollment_2005" real,
  "founded" real
);

Question: Name the most founded for enrollment 2005 being 1285
SQL: SELECT MAX("founded") FROM "institutions" WHERE "enrollment_2005"=1285;

Question: Name the main location for public and masters university
SQL: SELECT "main_location" FROM "institutions" WHERE "control"='Public' AND "type"='Masters university';

Question: Name the type for mcminnville
SQL: SELECT "type" FROM "institutions" WHERE "main_location"='McMinnville';

Question: Name the control for albany
SQL: SELECT "control" FROM "institutions" WHERE "main_location"='Albany';

Question: Name the least founded for gutenberg college
SQL: SELECT MIN("founded") FROM "institutions" WHERE "school"='Gutenberg College';

Question: Name the type for 1245 enrollment
SQL: SELECT "type" FROM "institutions" WHERE "enrollment_2005"=1245;