What is the highest number of games played for teams with 3 draws, 5 losses, and under 39 points?
CREATE TABLE table_name_64 (games_played INTEGER, points VARCHAR, draws VARCHAR, loses VARCHAR)
SELECT MAX(games_played) FROM table_name_64 WHERE draws = 3 AND loses = 5 AND points < 39
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (games_played INTEGER, points VARCHAR, draws VARCHAR, loses VARCHAR) Question: What is the highest number of games played for teams with 3 draws, 5 losses, and under 39 points? [/INST] SELECT MAX(games_played) FROM table_name_64 WHERE draws = 3 AND loses = 5 AND points < 39 </s>