MySQL: Difference between revisions
Jump to navigation
Jump to search
no edit summary
imported>LiamLime No edit summary |
imported>LiamLime No edit summary |
||
Line 83: | Line 83: | ||
WHERE ckey LIKE "%abc%" | WHERE ckey LIKE "%abc%" | ||
This will return a list of players, whose ckey contains the letters ' | This will return a list of players, whose ckey contains the letters 'abc'. The % signs before and after abc mean that anything can be located before or after abc. LIKE also ignores case, so all of the following will work: "'''abc'''n", "aocwegijaw'''abc'''maobr", "'''abc'''", "'''ABC'''", "'''AbC'''", "E'''Abc'''", "aWAEGaewgaWEG'''aBc'''aegawe". Your example might require you to replace the string abc with a different character combination, depending on which ckeys you have logged. | ||
==== Numbers ==== | ==== Numbers ==== |