SyntaxFix
Write A Post
Hire A Developer
Questions
SELECT id FROM events WHERE start <= '2013-07-22' AND end >= '2013-06-13';
Or use MIN() and MAX() if you don't know the precedence.
MIN()
MAX()