[This is preliminary documentation and subject to change.]
Also see GROUP BY, ISA, WHERE, WITHIN, and the SELECT Statement HAVING COUNT Clause.