Answer the question
In order to leave comments, you need to log in
Count group by order by 0?
Hello. There is a request:
SELECT `bot_id`, COUNT(*) AS `total`
FROM `items`
GROUP BY `bot_id`
ORDER BY `total` ASC
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question