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