自学内容网 自学内容网

Synapse Link for SQL

rm -r dp-203 -f

git clone https://github.com/MicrosoftLearning/dp-203-azure-data-engineer dp-203

cd dp-203/Allfiles/labs/15

./setup.ps1

 

CREATE SCHEMA SalesLT;
GO

SELECT  oh.SalesOrderID, oh.OrderDate,
        p.ProductNumber, p.Color, p.Size,
        c.EmailAddress AS CustomerEmail,
        od.OrderQty, od.UnitPrice
FROM SalesLT.SalesOrderHeader AS oh
JOIN SalesLT.SalesOrderDetail AS od 
    ON oh.SalesOrderID = od.SalesOrderID
JOIN  SalesLT.Product AS p 
    ON od.ProductID = p.ProductID
JOIN SalesLT.Customer as c
    ON oh.CustomerID = c.CustomerID
ORDER BY oh.SalesOrderID;


原文地址:https://blog.csdn.net/weixin_44504151/article/details/140161634

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!