mysql between and date to compare notes

比如
select t.card_Status,count(1) from uk_tibet_cardstatusinfo t where  t.aaz502 !='09' and createtime between '2019-12-11' and '2019-12-19' group by card_Status 

 

This indicates that the query out to start 2019-12-11 2019-12-18 23:59 zero points, which is the most on the 19th period of time

Published 17 original articles · won praise 0 · Views 222

Guess you like

Origin blog.csdn.net/lihailin8/article/details/103637651