Update page 'Useful SQL commands'

master
Rick Payton 7 anos atrás
pai
commit
18f0b6fb5b
1 arquivos alterados com 4 adições e 1 exclusões
  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);

Carregando…
Cancelar
Salvar