I have a row with a date range
title | fromDate | tillDate
------------------------------------
my event | 2014-03-12 | 2014-03-13
my event 2 | 2014-03-14 | 2014-03-17
my event 3 | 2014-03-01 | 2014-03-10
my event 4 | 2014-03-01 | 2014-03-09
Now I have a second pair of date range and I want to check if the event is in the date range .. for example
checkStartDate = 2014-03-10 checkEndStartDate = 2014-03-14
So in the range would be "my event" , "my event 2" and "my event 3" ...
At this moment I want to just try and get ALL the dates between my range (so between 2014-03-10 and 2014-03-14) and write one big query for it ... But there must be an easier way to do this right?