I have a query that requires a where statement on a calculated value:
select * from table where date( timestamp ) = ?
An explain on this query yields the expected ALL select type, which is not ideal. Using MySQL, what's the best way to optimize this?