How many Games have a Lost of 6, and Points smaller than 7?
CREATE TABLE table_name_31 (games INTEGER, lost VARCHAR, points VARCHAR)
SELECT SUM(games) FROM table_name_31 WHERE lost = 6 AND points < 7
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (games INTEGER, lost VARCHAR, points VARCHAR) Question: How many Games have a Lost of 6, and Points smaller than 7? [/INST] SELECT SUM(games) FROM table_name_31 WHERE lost = 6 AND points < 7 </s>