What is the most points scored for teams with under 25 goals scored, 3 draws, and more than 21 games played?
CREATE TABLE table_name_36 (points INTEGER, games_played VARCHAR, goals_scored VARCHAR, draws VARCHAR)
SELECT MAX(points) FROM table_name_36 WHERE goals_scored < 25 AND draws = 3 AND games_played > 21
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (points INTEGER, games_played VARCHAR, goals_scored VARCHAR, draws VARCHAR) Question: What is the most points scored for teams with under 25 goals scored, 3 draws, and more than 21 games played? [/INST] SELECT MAX(points) FROM table_name_36 WHERE goals_scored < 25 AND draws = 3 AND games_played > 21 </s>