Created
December 16, 2020 02:11
-
-
Save johnnymillergh/ca01fe42b1ca1600ff778dd4bd659326 to your computer and use it in GitHub Desktop.
SQL Like
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT * | |
FROM user | |
WHERE username LIKE '%/_%' ESCAPE '/'; | |
SELECT * | |
FROM user | |
WHERE username LIKE '%\_%'; |
Author
johnnymillergh
commented
Dec 16, 2020
- The first SQL is a universal LIKE SQL statement to retrieve the fuzzy queries.
- The second SQL is a universal LIKE SQL statement to retrieve the fuzzy queries.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment