Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2019
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.25 KB | None | 0 0
  1. SELECT e.EmployeeID, e.LastName, o.OrderID, p.ProductName, od.Quantity FROM orders AS o
  2. INNER JOIN orderdetails AS od ON o.OrderID = od.OrderID
  3. INNER JOIN products AS p ON p.ProductID = od.ProductID
  4. INNER JOIN employees AS e ON e.EmployeeID = o.EmployeeID;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement