hooge

FormattedSQLExample

Apr 25th, 2017
2,987
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PL/SQL 0.26 KB | None | 0 0
  1. elect p.shipid,
  2. p.shipname,
  3. c.DESC ContactShipCOM,
  4. a.DESC SpacialCoordiantes
  5. FROM PROFILE p
  6. LEFT JOIN contact c ON p.id = c.profileid
  7. AND c.ord = 1
  8. LEFT JOIN address a ON p.id = a.profileid
  9. AND a.ord = 1
  10. WHERE p.shipid = 'Rocinante'
  11.   AND c.show='The Expanse'
Advertisement
Add Comment
Please, Sign In to add comment