Which Goals have a Current Club of real madrid, and a Ratio smaller than 1.08, and a Rank smaller than 5?
CREATE TABLE table_name_12 (goals INTEGER, rank VARCHAR, current_club VARCHAR, ratio VARCHAR)
SELECT MAX(goals) FROM table_name_12 WHERE current_club = "real madrid" AND ratio < 1.08 AND rank < 5
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (goals INTEGER, rank VARCHAR, current_club VARCHAR, ratio VARCHAR) Question: Which Goals have a Current Club of real madrid, and a Ratio smaller than 1.08, and a Rank smaller than 5? [/INST] SELECT MAX(goals) FROM table_name_12 WHERE current_club = "real madrid" AND ratio < 1.08 AND rank < 5 </s>