Advertisement
dimkiriaoks

SQL

Aug 25th, 2022
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.17 KB | None | 0 0
  1. SELECT Shippers.ShipperName, COUNT(Orders.OrderID) AS NumberOfOrders FROM Orders
  2. LEFT JOIN Shippers ON Orders.ShipperID = Shippers.ShipperID
  3. GROUP BY ShipperName LIMIT 1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement