select id from meeting_list where room='A1' and ((strdate between '2014-10-26 15:00:00' and '2014-10-26 16:01:00')) or (enddate between '2014-10-26 15:00:00' and '2014-10-26 16:01:00')
SELECT *
FROM meeting_list
WHERE room = 'A1'
AND (
'2014-10-26 15:00:00'
BETWEEN `strdate`
AND `enddate`
)
OR (
'2014-10-27 16:01:00'
BETWEEN `strdate`
AND `enddate`
)