....where date_format(data, '%Y-%m-%d') = curdate()