Skip to content
agershun edited this page Dec 28, 2014 · 6 revisions

SELECT HAVING

Filtering groups

    var res = alasql('SELECT *, COUNT(*) AS cnt FROM City \
                GROUP BY Country HAVING cnt > 2');
Clone this wiki locally