SQL query record day

In the medical query data day is a common data manipulation, most of the service system for a day of statistics is often used records of the number of day, day of the following statistical data record query:

select * from his_doctors_advice where doctors_advice_time between current_date() and date_format(current_date,'%Y-%m-%d 23:59:59');

 

Published 327 original articles · won praise 133 · views 630 000 +

Guess you like

Origin blog.csdn.net/qq_30507287/article/details/102605439