added another sql command

master
Rick Payton pirms 7 gadiem
vecāks
revīzija
350fcebb50
1 mainītis faili ar 4 papildinājumiem un 1 dzēšanām
  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: 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 = ?;

Notiek ielāde…
Atcelt
Saglabāt