CREATE TABLE table_24915874_1 (horse VARCHAR, jockey VARCHAR)

Who was the horse when the jockey was Peter Wells?
SELECT horse FROM table_24915874_1 WHERE jockey = "Peter Wells"
SELECT "horse" FROM "table_24915874_1" WHERE "Peter Wells" = "jockey"