title: MySQL query to search in between two time range between two dates using timestamp data
body: <p>I have timestamp values in my db. It has values like 2014-11-25 10:30:00.
  I need to get all records between two dates and that has time between certain range like between 2014-10-20 to 2014-11-25 and between 9am to 7pm..</p>
  
  <p>I need the query for this...</p>