首页 > 代码库 > 最近24小时记录

最近24小时记录

SELECT
   channelid AS name,
   count(uid) AS value
FROM
   rc_user_info
WHERE
   addtime >= (NOW() - INTERVAL 24 HOUR)
GROUP BY
   channelid

 

最近24小时记录