You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_56 (erp_w INTEGER, class VARCHAR, frequency_mhz VARCHAR)
system
Name the sum of ERP W for class of d and frequency mhz of 98.7
user
SELECT SUM(erp_w) FROM table_name_56 WHERE class = "d" AND frequency_mhz = 98.7
assistant
<|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_56 (erp_w INTEGER, class VARCHAR, frequency_mhz VARCHAR)<|im_end|>
<|im_start|>user
Name the sum of ERP W for class of d and frequency mhz of 98.7<|im_end|>
