Context: CREATE TABLE table_name_30 (apps INTEGER, goals VARCHAR, club VARCHAR, season VARCHAR)
Question: When the club is flamengo in the 2009 season, and they scored more than 0 goals, what's the sum of the Apps?
Answer: SELECT SUM(apps) FROM table_name_30 WHERE club = "flamengo" AND season = "2009" AND goals > 0