Trying to do something like this:
SELECT * FROM events WHERE
start_time >= DATE_SUB(NOW(),INTERVAL 6 HOUR)
LIMIT
(
SELECT COUNT(*) FROM events WHERE
start_time >= DATE_SUB(NOW(),INTERVAL 6 HOUR)
AND
start_time < NOW()
)+100
ORDER BY start_time ASC;
Not workIng for me though.
union. you want all the events of the last 6 hours, plus the next 100 events, is that correct?