added another sql command

master
Rick Payton hace 7 años
padre
commit
350fcebb50
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  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 = ?;

Cargando…
Cancelar
Guardar