what is the goals when the country is wal, the name is smith and apps is more than 0?
CREATE TABLE table_name_83 (goals INTEGER, apps VARCHAR, country VARCHAR, name VARCHAR)
SELECT SUM(goals) FROM table_name_83 WHERE country = "wal" AND name = "smith" AND apps > 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: 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? [/INST] SELECT SUM(goals) FROM table_name_83 WHERE country = "wal" AND name = "smith" AND apps > 0 </s>