一条例子: selectcount(point_id)astoday_sumfrompointwheredatediff(d,point_date,getdate())=0 关键语句: datediff(d,getdate())=0