Guest User

Untitled

a guest
Jun 20th, 2018
402
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. SELECT client_no,product,status,paid_date
  2. FROM client_educational
  3. LEFT JOIN client_personal ON client_educational.client_no = client_personal.client_no
  4. WHERE product='CSM'
  5. OR product='LSP'
  6. OR product='CSD'
  7.  
  8. client_educational
  9. client_no product status pd_date
  10.  
  11. 500000 CSM pd-cert 2018-06-20
  12. 500001 LSP pd-cert 2018-06-20
  13. 500002 CSD pd-cert 2018-06-20
  14.  
  15.  
  16. client_personal
  17. client_no name email phone
  18.  
  19. 500000 John Doe mail@mail.com 555-555-5555
  20. 500001 John Shmoe mail@mail.com 555-555-5555
  21. 500002 John Howe mail@mail.com 555-555-5555
Add Comment
Please, Sign In to add comment