depot/third_party/tvl/users/grfn/emacs.d/snippets/sql-mode/count(*) group by
Default email a291c8690a Project import generated by Copybara.
GitOrigin-RevId: e6e19f3d81a982a62e1bba08f0b4f7fdc21b4ea0
2022-05-19 16:39:52 +02:00

5 lines
128 B
Text

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