Created
October 27, 2017 23:28
-
-
Save aurorapar/8b3ce09d5aad8eef652fe73f3ecfb486 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
USE acore_auth; | |
SELECT testOne.username, testTwo.username | |
FROM account as testOne, | |
account as testTwo | |
WHERE | |
testOne.username=testTwo.username | |
OR testOne.last_ip=testTwo.last_ip | |
OR testOne.last_ip=testTwo.last_attempt_ip | |
OR testOne.last_attempt_ip=testTwo.last_ip | |
OR testOne.email=testTwo.email | |
OR testOne.sha_pass_hash = testTwo.sha_pass_hash | |
OR testOne.username LIKE CONCAT('%', testTwo.username ,'%') | |
OR testTwo.username LIEK CONCAT('%', testOne.username ,'%') | |
; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment