depot/third_party/tvl/users/glittershark/emacs.d/snippets/sql-mode/count(*) group by
Default email c4fb0432ae Project import generated by Copybara.
GitOrigin-RevId: 3fc1143a04da49a92c3663813c6a0c1e8ccd477f
2020-09-29 23:42:59 -04:00

5 lines
128 B
Text

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