SELECT * FROM table WHERE date >= DATE_SUB(CURDATE(), INTERVAL -1 DAY) AND date < CURDATE()
... WHERE (created BETWEEN '2017-08-01' AND '2017-08-31') AND change_date >= '2017-09-01'
SELECT
date(now()) as 'date',
date(SUBDATE(now(), 1)) as 'date1',
date(SUBDATE(now(), 2)) as 'date2',
date(SUBDATE(now(), 3)) as 'date3',
date(SUBDATE(now(), 4)) as 'date4'