Skip to content

Instantly share code, notes, and snippets.

@joelind
Created November 28, 2012 23:52
Show Gist options
  • Save joelind/4165647 to your computer and use it in GitHub Desktop.
Save joelind/4165647 to your computer and use it in GitHub Desktop.
select * from tims;
a | b
---+---
t | t
t | f
t |
|
f | f
(5 rows)
select * from tims where a is true and b is false;
a | b
---+---
t | f
(1 row)
select * from tims where a and not b;
a | b
---+---
t | f
(1 row)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment