about summary refs log tree commit diff
path: root/users/aspen/emacs/snippets/sql-mode/count(*) group by
blob: 6acc46ff397a61187d3d90471ea2b952ed2739d7 (plain) (blame)
1
2
3
4
5
# -*- mode: snippet -*-
# name: count(*) group by
# key: countby
# --
SELECT count(*), ${1:column} FROM ${2:table} GROUP BY $1;