Created
July 13, 2020 08:29
-
-
Save vrySantosh/6b7d6b2c2bb68ec07b30cf64ad7ee8a4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT o.OrderID, | |
o.CustomerID, | |
o.ProductID, | |
o.Status, | |
c.Name as CName, | |
p.Name as PName, | |
p.PRICE | |
FROM Orders o | |
INNER JOIN Customers c | |
on o.CustomerID = c.CustomerID | |
INNER JOIN Products p | |
on o.ProductID = p.ProductID |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
SQL Server Query for Inner Join 3 Tables