Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sqlite> SELECT bar.name, bar.foo, foo.id, foo.name FROM bar LEFT JOIN foo ON foo.id = bar.foo;
- thingy|1|1|bar
- sqlite> SELECT * FROM foo WHERE id = 1;
- 1|bar
- sqlite> SELECT * FROM bar WHERE foo = 1;
- sqlite>
Advertisement
Add Comment
Please, Sign In to add comment