1. Add one day to the date: BETWEEN '2017-04-01' AND DATE_ADD('2017-04-04',INTERVAL 1 DAY);
2. Character splicing: splicing the date on 23:59:59
3. Process the field: date_format(oper_date,'%Y-%m-%d')
1. Add one day to the date: BETWEEN '2017-04-01' AND DATE_ADD('2017-04-04',INTERVAL 1 DAY);
2. Character splicing: splicing the date on 23:59:59
3. Process the field: date_format(oper_date,'%Y-%m-%d')