Skip to content

Instantly share code, notes, and snippets.

@gravitystorm
Created July 18, 2012 08:10
Show Gist options
  • Select an option

  • Save gravitystorm/3134970 to your computer and use it in GitHub Desktop.

Select an option

Save gravitystorm/3134970 to your computer and use it in GitHub Desktop.
update regions set status = 'failed'
where (lat = 49 and lon in (18,19,20,21,22,23))
or (lat = 50 and lon in (14,15,16,17,18,19,20,21,22,23,24))
or (lat = 51 and lon in (14,15,16,17,18,19,20,21,22,23))
or (lat = 52 and lon in (14,15,16,17,18,19,20,21,22,23))
or (lat = 53 and lon in (14,15,16,17,18,19,20,21,22,23))
or (lat = 54 and lon in (14,15,16,17,18,19,20,21,22,23))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment