CREATE TABLE table_name_48 (race VARCHAR, course VARCHAR, jockey VARCHAR, margin VARCHAR)

what is the race when the jockey is frankie dettori, the margin is more than 3 and the course is yarmouth?
SELECT race FROM table_name_48 WHERE jockey = "frankie dettori" AND margin > 3 AND course = "yarmouth"
SELECT "race" FROM "table_name_48" WHERE "course" = "yarmouth" AND "frankie dettori" = "jockey" AND "margin" > 3