What is the average Touchdowns, when Yards is less than 293, and when Long is greater than 39?
CREATE TABLE table_name_7 (touchdowns INTEGER, yards VARCHAR, long VARCHAR)
SELECT AVG(touchdowns) FROM table_name_7 WHERE yards < 293 AND long > 39
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (touchdowns INTEGER, yards VARCHAR, long VARCHAR) Question: What is the average Touchdowns, when Yards is less than 293, and when Long is greater than 39? [/INST] SELECT AVG(touchdowns) FROM table_name_7 WHERE yards < 293 AND long > 39 </s>