How can I compare different rows of different columns in the same table in MySQL?? I want to get all the data between given Start_Date and End_Date in my database table. But two dates are not in the same row.Ex,
Start_Date End_Date Data
2011-07-01 2011-07-31 AA
2011-08-01 2011-08-31 BB
I want to get data between '2011-07-01' and '2011-08-31'.How can I do that? Please reply me with MySQL code.Thanks a lot.