開始使用免費開始

使用 USING

eSymphony 想要寄送禮品卡來感謝最忠實的顧客。你的任務是找出在公司消費金額最高的顧客。

你不確定執行你查詢的人偏好哪種寫法,因此你決定展現你的 SQL 技巧,同時在連接時使用 USING 子句與 ON

本練習屬於課程

Oracle SQL 入門

檢視課程

動手互動練習

試著完成這個範例程式碼,體驗一下這個練習。

-- Select the customer first and last name, and the total amount
SELECT ___, ___, ___
-- Join the Customer and the Invoice tables
FROM Customer c ___
	-- Complete the common joining column
	ON ___ = ___
編輯並執行程式碼