WHERE DateAdd BETWEEN STR_TO_DATE ('2010-05-05','%Y-%m-%d') AND STR_TO_DATE ('2010-05-07','%Y-%m-%d')" Displays only records 2010-05-05 and 2010-05-06, and 2010-05-07 - no , although this record is there, and so with any date, you need to add +1 at the end of the day, so that the sample works correctly.
What could it be?