CREATE TABLE "am" (
  "frequency" real,
  "callsign" text,
  "brand" text,
  "city_of_license" text,
  "type" text
);

Question: What is City of License, when Frequency is greater than 1380?
SQL: SELECT "city_of_license" FROM "am" WHERE "frequency">1380;

Question: What is Brand, when Frequency is "640"?
SQL: SELECT "brand" FROM "am" WHERE "frequency"=640;

Question: What is the average Frequency, when Type is "Norteño", and when Brand is "La Cotorra"?
SQL: SELECT AVG("frequency") FROM "am" WHERE "type"='norteño' AND "brand"='la cotorra';

Question: What is Type, when Frequency is "1480"?
SQL: SELECT "type" FROM "am" WHERE "frequency"=1480;

Question: What is the sum of Frequency, when Type is "Christian Pop"?
SQL: SELECT SUM("frequency") FROM "am" WHERE "type"='christian pop';

Question: What is the Type, when Callsign is "Xetam"?
SQL: SELECT "type" FROM "am" WHERE "callsign"='xetam';