Which Total Apps (sub) has 6 goals total?
CREATE TABLE table_name_39 (total_apps__sub_ VARCHAR, total_goals VARCHAR)
SELECT total_apps__sub_ FROM table_name_39 WHERE total_goals = "6"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (total_apps__sub_ VARCHAR, total_goals VARCHAR) Question: Which Total Apps (sub) has 6 goals total? [/INST] SELECT total_apps__sub_ FROM table_name_39 WHERE total_goals = "6" </s>