Update page 'Useful SQL commands'

master
Rick Payton hace 7 años
padre
commit
18f0b6fb5b
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. +4
    -1
      Useful-SQL-commands.md

+ 4
- 1
Useful-SQL-commands.md

@@ -5,4 +5,7 @@ Get the maximum entered sub-title rank:
* SELECT MAX(strank) FROM gwsubtitles WHERE titlenameid = ?;
Select title ranks from an array:
* SELECT * FROM gwsubtitles WHERE titlenameid = 25 AND stnameid IN (4, 6, 9); (4 6 9 will be replaced by a ? mark)
* SELECT * FROM gwsubtitles WHERE titlenameid = 25 AND stnameid IN (4, 6, 9); (4 6 9 will be replaced by a ? mark)
Delete title ranks from an array:
* DELETE FROM gwsubtitles WHERE titlenameid = 54 AND stnameid IN (160,161,162);

Cargando…
Cancelar
Guardar