What is the total goals with 12 assists, and less than 291 apps?
CREATE TABLE table_name_52 (goals INTEGER, assists VARCHAR, apps VARCHAR)
SELECT SUM(goals) FROM table_name_52 WHERE assists = 12 AND apps < 291
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (goals INTEGER, assists VARCHAR, apps VARCHAR) Question: What is the total goals with 12 assists, and less than 291 apps? [/INST] SELECT SUM(goals) FROM table_name_52 WHERE assists = 12 AND apps < 291 </s>