I have a table of events with a recorded start and end time as a MySQL DATETIME object (in the format YYYY-MM-DD HH:MM:SS. I want to find all events that occur
YYYY-MM-DD HH:MM:SS
Llya, Roberts answer with,
SELECT * FROM table WHERE start_date <= end_of_range AND stop_date >= start_of_range
works fine with,
D) events with both starting and ending dates outside the range, but overlapping it
??