Guest User

Untitled

a guest
Jan 17th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. [Table Foo]
  2. Id: GUID
  3. ... Fields
  4.  
  5. [Table Bar]
  6. Id: GUID
  7. FooId: GUID (references Foo.Id)
  8. ... Fields
  9.  
  10. [Table Baz]
  11. Id: GUID
  12. BarId: GUID (References Bar.Id)
  13. ... Fields
  14.  
  15. SELECT *
  16. FROM foo, bar, baz
  17. WHERE foo.Id = bar.FooId && bar.Id = baz.BarId
Add Comment
Please, Sign In to add comment