about summary refs log tree commit diff
path: root/snippets/sql-mode/count(*) group by
diff options
context:
space:
mode:
authorGriffin Smith <root@gws.fyi>2019-07-09T21·50-0400
committerGriffin Smith <root@gws.fyi>2019-07-09T21·50-0400
commit23b179ad1d3d2e07c114741dffc50a8343f0a7a6 (patch)
tree46a6a982b7de4710ddf35ffdf2439d6291924d53 /snippets/sql-mode/count(*) group by
parenta3eb6846b3eeb739bce26a7b92b6a634688e57af (diff)
A bunch of new snippets
Diffstat (limited to 'snippets/sql-mode/count(*) group by')
-rw-r--r--snippets/sql-mode/count(*) group by5
1 files changed, 5 insertions, 0 deletions
diff --git a/snippets/sql-mode/count(*) group by b/snippets/sql-mode/count(*) group by
new file mode 100644
index 000000000000..6acc46ff397a
--- /dev/null
+++ b/snippets/sql-mode/count(*) group by
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+# name: count(*) group by
+# key: countby
+# --
+SELECT count(*), ${1:column} FROM ${2:table} GROUP BY $1;