when was the loan ended when the country is ghana?
CREATE TABLE table_name_37 (ended VARCHAR, country VARCHAR)
SELECT ended FROM table_name_37 WHERE country = "ghana"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (ended VARCHAR, country VARCHAR) Question: when was the loan ended when the country is ghana? [/INST] SELECT ended FROM table_name_37 WHERE country = "ghana" </s>