Been trying to figure this out for a while now.
I am looking to select rows from a database table in MySQL where the two dates are next to each other.
e.g. 2011-07-20 is next to 2011-07-21.
Many Thanks
Neil
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I guess you can
JOINusingADDDATE():The
WHEREis to verify that T1 and T2 don’t contain duplicates.