Which Average has a Tally of 2-12, and a Total larger than 18?
CREATE TABLE table_name_23 (average INTEGER, tally VARCHAR, total VARCHAR)
SELECT AVG(average) FROM table_name_23 WHERE tally = "2-12" AND total > 18
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (average INTEGER, tally VARCHAR, total VARCHAR) Question: Which Average has a Tally of 2-12, and a Total larger than 18? [/INST] SELECT AVG(average) FROM table_name_23 WHERE tally = "2-12" AND total > 18 </s>