Advertisement
Guest User

MySQL Query

a guest
Aug 17th, 2010
2,343
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.14 KB | None | 0 0
  1. SELECT
  2.    logincode,
  3.    DAMLEV(logincode, '2343') AS distance
  4. FROM users
  5. WHERE
  6.    DAMLEV(logincode, '2343') < 20
  7. ORDER BY distance DESC
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement