CREATE TABLE "radio_iq_full_power_affiliates" (
  "call_sign" text,
  "frequency_m_hz" real,
  "city_of_license" text,
  "erp_w" text,
  "class" text,
  "fcc_info" text
);

Question: Which city of license has a wriq Call sign?
SQL: SELECT "city_of_license" FROM "radio_iq_full_power_affiliates" WHERE "call_sign"='wriq';

Question: What is the total of Frequency MHz with a Class of b1?
SQL: SELECT SUM("frequency_m_hz") FROM "radio_iq_full_power_affiliates" WHERE "class"='b1';

Question: Which ERP W has a Class of A, and a Call sign of wffc?
SQL: SELECT "erp_w" FROM "radio_iq_full_power_affiliates" WHERE "class"='a' AND "call_sign"='wffc';

Question: Which class City of license of ferrum, virginia?
SQL: SELECT "class" FROM "radio_iq_full_power_affiliates" WHERE "city_of_license"='ferrum, virginia';

Question: Which call sign has a Class of A, and a Frequency MHz of 88.7?
SQL: SELECT "call_sign" FROM "radio_iq_full_power_affiliates" WHERE "class"='a' AND "frequency_m_hz"=88.7;