사용방법은 다르나 두 쿼리의 결과는 동일
SELECT
so.SalesOrderID,
so.CustomerID,
c.FirstName,
c.LastName
FROM SalesOrder so
INNER JOIN Customer c
ON (so.CustomerID = c.CustomerID)
/* 주문번호, 제품번호, 제품명*/
SELECT
sod.SalesOrderID,
sod.ProductID,
p.[Name] as p_name
FROM SalesOrderDetail sod
INNER JOIN product p
ON (sod.ProductID = p.ProductID)