SCHEMA:
CREATE TABLE table_name_37 (ended VARCHAR, country VARCHAR)
USER:
when was the loan ended when the country is ghana?

QUERY:
SELECT ended FROM table_name_37 WHERE country = "ghana"