Handle `COUNT(*)` outside of `SELECT`
betodealmeida opened this issue · comments
The CountStar
processor should handle more cases, eg:
SELECT
country
, COUNT(*)
FROM
table
WHERE
name = 'John'
GROUP BY
country
HAVING
COUNT(*) > 100
Same for ORDER BY
.