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