Count the Pommel Horse that has Rings smaller than 59.85 and a Team Total larger than 361.2?
CREATE TABLE table_name_6 (pommel_horse INTEGER, rings VARCHAR, team_total VARCHAR)
SELECT SUM(pommel_horse) FROM table_name_6 WHERE rings < 59.85 AND team_total > 361.2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (pommel_horse INTEGER, rings VARCHAR, team_total VARCHAR) Question: Count the Pommel Horse that has Rings smaller than 59.85 and a Team Total larger than 361.2? [/INST] SELECT SUM(pommel_horse) FROM table_name_6 WHERE rings < 59.85 AND team_total > 361.2 </s>