select count(*) from table where datediff(d,时间,getdate())=0
不知道MYSQL一不一样
select count(c) as c2 from (select date(time_happend) as c from users_operation_history as v_table ) v_table group by c order by c2 desc limit 1欢迎分享,转载请注明来源:内存溢出
select count(*) from table where datediff(d,时间,getdate())=0
不知道MYSQL一不一样
select count(c) as c2 from (select date(time_happend) as c from users_operation_history as v_table ) v_table group by c order by c2 desc limit 1欢迎分享,转载请注明来源:内存溢出
评论列表(0条)