SCHEMA:
CREATE TABLE table_name_52 (goals INTEGER, assists VARCHAR, apps VARCHAR)
USER:
What is the total goals with 12 assists, and less than 291 apps?

QUERY:
SELECT SUM(goals) FROM table_name_52 WHERE assists = 12 AND apps < 291