Table schema:
CREATE TABLE table_name_22 (apps INTEGER, season VARCHAR, goals VARCHAR)

Question: What is the most apps that a has a total season and 3 goals?
SQL: SELECT MAX(apps) FROM table_name_22 WHERE season = "total" AND goals > 3