Advertisement
Guest User

Untitled

a guest
Jul 1st, 2015
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. SELECT * FROM tableA a
  2. JOIN tableB b ON a.id=b.id
  3. JOIN tableC c ON a.id=c.id
  4. JOIN tableD d ON a.id=d.id
  5.  
  6. SELECT * FROM tableA a
  7. JOIN tableB b ON a.id=b.id
  8. JOIN tableC c ON b.id=c.id
  9. JOIN tableD d ON c.id=d.id
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement