text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  CREATE TABLE table_24915874_1 (trainer VARCHAR, jockey VARCHAR)
  ### Question:
  Who was the trainer when the jockey was Luke Nolen?
  ### Answer:
  SELECT trainer FROM table_24915874_1 WHERE jockey = "Luke Nolen"