Skip to content

Instantly share code, notes, and snippets.

@o-shabashov
Created May 29, 2016 22:39
Show Gist options
  • Save o-shabashov/da96503a9bb0b1e2be138a716986321b to your computer and use it in GitHub Desktop.
Save o-shabashov/da96503a9bb0b1e2be138a716986321b to your computer and use it in GitHub Desktop.
SQL select where name = "A..E"
select * from brand
where substr(brand_name, 1, 1) >= 'a' and substr(brand_name, 1, 1) <= 'e'
order by brand_name ASC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment