tvl-depot/users/glittershark/emacs.d/snippets/sql-mode/count(*) group by

6 lines
128 B
Text
Raw Normal View History

2019-07-09 23:50:51 +02:00
# -*- mode: snippet -*-
# name: count(*) group by
# key: countby
# --
SELECT count(*), ${1:column} FROM ${2:table} GROUP BY $1;