Who is the team that has played more than 18 games and has 6 losses?
CREATE TABLE table_name_97 (team_name VARCHAR, losses VARCHAR, games VARCHAR)
SELECT team_name FROM table_name_97 WHERE losses = 6 AND games > 18
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (team_name VARCHAR, losses VARCHAR, games VARCHAR) Question: Who is the team that has played more than 18 games and has 6 losses? [/INST] SELECT team_name FROM table_name_97 WHERE losses = 6 AND games > 18 </s>