CREATE TABLE table_name_52 (goals NUMBER, assists VARCHAR2, apps VARCHAR2)

What is the total goals with 12 assists, and less than 291 apps?
SELECT SUM(goals) FROM table_name_52 WHERE assists = 12 AND apps < 291
SELECT SUM("goals") FROM "table_name_52" WHERE "apps" < 291 AND "assists" = 12