Table: bashford_manor_stakes_results
Columns: year
winner
jockey
trainer
time
grade

Question: Who won under Gary Simms?
SQL: SELECT "winner" FROM bashford_manor_stakes_results WHERE "trainer" = 'gary simms'

Question: Which trainer had a time of 1:10.09 with a year less than 2009?
SQL: SELECT "trainer" FROM bashford_manor_stakes_results WHERE "year" < 2009 AND "time" = '1:10.09'

Question: Which trainer won the hyroglyphic in a year that was before 2010?
SQL: SELECT "trainer" FROM bashford_manor_stakes_results WHERE "year" < 2010 AND "winner" = 'hyroglyphic'

Question: What was the time for Screen Your Friend?
SQL: SELECT "time" FROM bashford_manor_stakes_results WHERE "winner" = 'screen your friend'