Skip to content

Instantly share code, notes, and snippets.

@doryokujin
Last active July 3, 2017 06:05
Show Gist options
  • Save doryokujin/be1b44b7b94eff068447b4f9a5a7d0cb to your computer and use it in GitHub Desktop.
Save doryokujin/be1b44b7b94eff068447b4f9a5a7d0cb to your computer and use it in GitHub Desktop.
SELECT * FROM table1
WHERE
col1 < 100
OR col2 is TRUE
AND TD_TIME_RANGE(time, '2015-11-01')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment