Context: CREATE TABLE table_name_83 (goals INTEGER, apps VARCHAR, country VARCHAR, name VARCHAR)
Question: what is the goals when the country is wal, the name is smith and apps is more than 0?
Answer: SELECT SUM(goals) FROM table_name_83 WHERE country = "wal" AND name = "smith" AND apps > 0