select FROM_UNIXTIME(reg_time,'%Y-%m-%d')as date,COUNT(*)
FROM wd_member
where phone != '' and reg_time != ''
GROUP BY FROM_UNIXTIME(reg_time,'%Y-%m-%d');
mysql 通过时间戳查询每天的数据量
猜你喜欢
转载自blog.csdn.net/helloworld_dream/article/details/80666354
今日推荐
周排行