about summary refs log blame commit diff
path: root/users/glittershark/emacs.d/snippets/sql-mode/count(*) group by
blob: 6acc46ff397a61187d3d90471ea2b952ed2739d7 (plain) (tree)
1
2
3
4
5




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