SQL 外部連接
/*.....
.
SELECT A1.store_name, SUM(A2.Sales) SALES
FROM Georgraphy A1, Store_Information A2
WHERE A1.store_name = A2.store_name (+)
GROUP BY A1.store_name
這裡是使用了 Oracle 的外部連接語法。
.
.....*/
/*.....
.
SELECT A1.store_name, SUM(A2.Sales) SALES
FROM Georgraphy A1, Store_Information A2
WHERE A1.store_name = A2.store_name (+)
GROUP BY A1.store_name
這裡是使用了 Oracle 的外部連接語法。
.
.....*/
留言