Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Table Foo]
- Id: GUID
- ... Fields
- [Table Bar]
- Id: GUID
- FooId: GUID (references Foo.Id)
- ... Fields
- [Table Baz]
- Id: GUID
- BarId: GUID (References Bar.Id)
- ... Fields
- SELECT *
- FROM foo, bar, baz
- WHERE foo.Id = bar.FooId && bar.Id = baz.BarId
Add Comment
Please, Sign In to add comment