Tell me the total number of ties for name of totals and lost more than 30
CREATE TABLE table_name_27 (ties VARCHAR, name VARCHAR, lost VARCHAR)
SELECT COUNT(ties) FROM table_name_27 WHERE name = "totals" AND lost > 30
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (ties VARCHAR, name VARCHAR, lost VARCHAR) Question: Tell me the total number of ties for name of totals and lost more than 30 [/INST] SELECT COUNT(ties) FROM table_name_27 WHERE name = "totals" AND lost > 30 </s>