What is the lowest gain with an 18 long, and a loss less than 191?
CREATE TABLE table_name_40 (gain INTEGER, long VARCHAR, loss VARCHAR)
SELECT MIN(gain) FROM table_name_40 WHERE long = 18 AND loss < 191
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (gain INTEGER, long VARCHAR, loss VARCHAR) Question: What is the lowest gain with an 18 long, and a loss less than 191? [/INST] SELECT MIN(gain) FROM table_name_40 WHERE long = 18 AND loss < 191 </s>