SCHEMA:
CREATE TABLE table_name_48 (race VARCHAR, course VARCHAR, jockey VARCHAR, margin VARCHAR)
USER:
what is the race when the jockey is frankie dettori, the margin is more than 3 and the course is yarmouth?

QUERY:
SELECT race FROM table_name_48 WHERE jockey = "frankie dettori" AND margin > 3 AND course = "yarmouth"