Skip to content

Instantly share code, notes, and snippets.

@KhanMaytok
Created April 1, 2017 21:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KhanMaytok/51666acd7664c907868a157d452437fb to your computer and use it in GitHub Desktop.
Save KhanMaytok/51666acd7664c907868a157d452437fb to your computer and use it in GitHub Desktop.
asdasd
galaxy_number = "{}%".format(i)
cur.execute("""SELECT Universe.coords
FROM
Player,
Universe
WHERE
Universe.player = Player.id
AND Universe.coords LIKE ?
AND (
Player.status LIKE '%i'
OR Player.status LIKE '%I%'
)AND Player.status NOT LIKE '%v%'""", galaxy_number)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment