Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Most active channels
SELECT count(messageid) as count, buffername as channel
FROM backlog
LEFT JOIN buffer ON buffer.bufferid = backlog.bufferid
WHERE buffername != ''
GROUP BY buffername ORDER BY count DESC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.