CREATE TABLE "fares" (
  "type_of_fare" text,
  "cash_fare" text,
  "day_pass" text,
  "31_day_pass" text,
  "monthly_pass" text
);

Question: When n/a is the cash fate and n/a is the 31-day pass how many types of fare are there?
SQL: SELECT COUNT("type_of_fare") FROM "fares" WHERE "31_day_pass"='N/A' AND "cash_fare"='N/A';

Question: When fixed route is the type of fare how much is the 31-day pass?
SQL: SELECT "31_day_pass" FROM "fares" WHERE "type_of_fare"='Fixed Route';

Question: When mega pass* (senior/disabled) is the type of fare what is the cash fare?
SQL: SELECT "cash_fare" FROM "fares" WHERE "type_of_fare"='Mega Pass* (Senior/Disabled)';

Question: When mega pass* (senior/disabled) is the type of fare what is the day pass?
SQL: SELECT "day_pass" FROM "fares" WHERE "type_of_fare"='Mega Pass* (Senior/Disabled)';

Question: When  fort irwin-barstow/victorville is the type of fare what is the cash fare?
SQL: SELECT "cash_fare" FROM "fares" WHERE "type_of_fare"='Fort Irwin-Barstow/Victorville';