What's the lowest avg/g for a GP-GS of 12-12 and a gain less than 16?
CREATE TABLE table_name_10 (avg_g INTEGER, gp_gs VARCHAR, gain VARCHAR)
SELECT MIN(avg_g) FROM table_name_10 WHERE gp_gs = "12-12" AND gain < 16
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (avg_g INTEGER, gp_gs VARCHAR, gain VARCHAR) Question: What's the lowest avg/g for a GP-GS of 12-12 and a gain less than 16? [/INST] SELECT MIN(avg_g) FROM table_name_10 WHERE gp_gs = "12-12" AND gain < 16 </s>