I need to check the date in the range from_date and to_date.
Ex) Employee applies leave from 2012-11-08 to 2012-11-09, here I need to check 2012-11-08 with the date range includes the from_date and to_date.
Please suggest me to use the proper queries to get the records.
When I use Mysql BETWEEN, it checks the date in between range only and not including the from_date and to_date.