From 8cd7d42efc25ec896fb4b37f8b8f218dcb680bf8 Mon Sep 17 00:00:00 2001 From: mauirixxx Date: Sun, 5 Aug 2018 23:38:08 -1000 Subject: [PATCH] initial edit --- Useful-SQL-commands.md | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 Useful-SQL-commands.md diff --git a/Useful-SQL-commands.md b/Useful-SQL-commands.md new file mode 100644 index 0000000..1b71b2e --- /dev/null +++ b/Useful-SQL-commands.md @@ -0,0 +1,2 @@ +View which titles have at least 1 rank applied to it: +* SELECT gwtitles.titlename FROM gwtitles WHERE titlenameid IN (SELECT titlenameid FROM gwsubtitles) ORDER BY titlename ASC; \ No newline at end of file