Who was the horse when the jockey was Peter Wells? 
CREATE TABLE table_24915874_1 (horse VARCHAR, jockey VARCHAR)
SELECT horse FROM table_24915874_1 WHERE jockey = "Peter Wells"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24915874_1 (horse VARCHAR, jockey VARCHAR) Question: Who was the horse when the jockey was Peter Wells?  [/INST] SELECT horse FROM table_24915874_1 WHERE jockey = "Peter Wells" </s>