CREATE TABLE "results_by_year" (
  "year" real,
  "men_s_open" text,
  "women_s_open" text,
  "mixed_open" text,
  "men_s_u20" text,
  "women_s_u20" text,
  "senior_mixed" text,
  "men_s_30" text,
  "women_s_30" text,
  "men_s_35" text,
  "women_s_35" text,
  "men_s_40" text,
  "women_s_40" text,
  "men_s_45" text,
  "men_s_50" text
);

Question: Which Men's 35 has a Women's Open of brisbane city cobras def hunter western hornets?
SQL: SELECT "men_s_35" FROM "results_by_year" WHERE "women_s_open"='brisbane city cobras def hunter western hornets';

Question: Which Men's 50 has a Senior Mixed of n/A, and a Men's Open of gold coast sharks def sydney mets, and a Men's 30 of sydney mets def sydney scorpions, and a Women's u20 of southern suns def brisbane city cobras?
SQL: SELECT "men_s_50" FROM "results_by_year" WHERE "senior_mixed"='n/a' AND "men_s_open"='gold coast sharks def sydney mets' AND "men_s_30"='sydney mets def sydney scorpions' AND "women_s_u20"='southern suns def brisbane city cobras';

Question: Which Women's 35 has a Men's 50 of n/A, and a Men's 40 of southern suns def sunwest razorbacks?
SQL: SELECT "women_s_35" FROM "results_by_year" WHERE "men_s_50"='n/a' AND "men_s_40"='southern suns def sunwest razorbacks';

Question: Which Men's u20 has a Men's 45 of n/A?
SQL: SELECT "men_s_u20" FROM "results_by_year" WHERE "men_s_45"='n/a';

Question: How many years have a Women's Open of brisbane city cobras def sydney mets, and a Men's 35 of n/A?
SQL: SELECT COUNT("year") FROM "results_by_year" WHERE "women_s_open"='brisbane city cobras def sydney mets' AND "men_s_35"='n/a';