added another sql command

master
Rick Payton 7年前
コミット
350fcebb50
1個のファイルの変更4行の追加1行の削除
  1. +4
    -1
      Useful-SQL-commands.md

+ 4
- 1
Useful-SQL-commands.md

@@ -1,2 +1,5 @@
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;
* SELECT gwtitles.titlename FROM gwtitles WHERE titlenameid IN (SELECT titlenameid FROM gwsubtitles) ORDER BY titlename ASC;
Get the maximum entered sub-title rank:
* SELECT MAX(strank) FROM gwsubtitles WHERE titlenameid = ?;

読み込み中…
キャンセル
保存