I want to get all the movie ids and names for a given date range. e.g. 2012-02-01 to 2012-02-20 should show ids( 1, 2 and 3) its like now showing movies on a given date range.
movie{ id, name, start_date, end_date, visibility} id name start_date end_date visibility 1 abc 2012-01-05 2012-02-10 1 2 xyz 2012-02-05 2012-02-25 1 3 cde 2012-02-19 2012-02-27 1 4 ghi 2012-03-01 2012-03-20 1