Join 3 Tables

From rbachwiki
Revision as of 19:39, 1 November 2017 by Bacchas (talk | contribs) (Created page with " SELECT A.sales_date, A.order_id, A.product_id, B.product_name, C.job_title FROM sales A INNER JOIN product B ON A.product_id = B.product_id LEFT OUTER JOIN salesperson C...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
SELECT A.sales_date, A.order_id,  A.product_id, B.product_name, C.job_title
FROM sales A INNER JOIN product B
ON A.product_id = B.product_id 
LEFT OUTER JOIN salesperson C
ON A.salesperson_id = C.salesperson_id;