What is the average decimal with a 110010 binary and a glyph greater than 2?
CREATE TABLE table_name_12 (decimal INTEGER, binary VARCHAR, glyph VARCHAR)
SELECT AVG(decimal) FROM table_name_12 WHERE binary = 110010 AND glyph > 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (decimal INTEGER, binary VARCHAR, glyph VARCHAR) Question: What is the average decimal with a 110010 binary and a glyph greater than 2? [/INST] SELECT AVG(decimal) FROM table_name_12 WHERE binary = 110010 AND glyph > 2 </s>