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