一条例子:
select count(point_id) as today_sum from point where datediff(d,point_date,getdate())=0
关键语句:
datediff(d,point_date,getdate())=0
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/233450.html
一条例子:
select count(point_id) as today_sum from point where datediff(d,point_date,getdate())=0
关键语句:
datediff(d,point_date,getdate())=0
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/233450.html