公職◆資料庫應用題庫

【非選題】

六、資料庫內有三個表格,分別是 Product、Sales_table、Supplier。這三個表的欄位名稱與資料紀錄如下:
666ff33c23c97.jpg666ff353b7546.jpg666ff3688389c.jpg請回答下列問題:


【題組】(二)請寫出以下的 SQL 陳述句的結果集(Result Set) 。(10 分)
SELECT Product.name as customerName, Supplier.name as EmployerName FROM Product, Supplier, Sales_table WHERE Sales_table.amount >= 15000 AND Sales_table.ProdID = Product.ID AND Product.SupplyID = Supplier.ID;