Which Name had a Rank of 18 Out of a number smaller than 149?
CREATE TABLE table_name_31 (name VARCHAR, out_of VARCHAR, rank VARCHAR)
SELECT name FROM table_name_31 WHERE out_of < 149 AND rank = 18
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (name VARCHAR, out_of VARCHAR, rank VARCHAR) Question: Which Name had a Rank of 18 Out of a number smaller than 149? [/INST] SELECT name FROM table_name_31 WHERE out_of < 149 AND rank = 18 </s>