5 lines
128 B
Text
5 lines
128 B
Text
# -*- mode: snippet -*-
|
|
# name: count(*) group by
|
|
# key: countby
|
|
# --
|
|
SELECT count(*), ${1:column} FROM ${2:table} GROUP BY $1;
|