Name the sum of ERP W for class of d and frequency mhz of 98.7
CREATE TABLE table_name_56 (erp_w INTEGER, class VARCHAR, frequency_mhz VARCHAR)
SELECT SUM(erp_w) FROM table_name_56 WHERE class = "d" AND frequency_mhz = 98.7
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (erp_w INTEGER, class VARCHAR, frequency_mhz VARCHAR) Question: Name the sum of ERP W for class of d and frequency mhz of 98.7 [/INST] SELECT SUM(erp_w) FROM table_name_56 WHERE class = "d" AND frequency_mhz = 98.7 </s>