Skip to content

Instantly share code, notes, and snippets.

@ramiroaznar
Created May 24, 2016 10:33
Show Gist options
  • Save ramiroaznar/141c2a451bff3507e331eb4d13329466 to your computer and use it in GitHub Desktop.
Save ramiroaznar/141c2a451bff3507e331eb4d13329466 to your computer and use it in GitHub Desktop.
Filtering by (string) range
SELECT
*
FROM
estaciones
WHERE
lineas IN ('1', '1,10', '1, 10, 9', '1, 2, 3', '1, 2, 6', '1, 4', '1, 5', '1, 6');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment