开发者

SET OPERATIONS IN ORACLE 9i

开发者 https://www.devze.com 2023-01-12 21:29 出处:网络
Is it possi开发者_StackOverflow中文版ble to do SET OPERATIONS using more than one column in the SELECT clause?

Is it possi开发者_StackOverflow中文版ble to do SET OPERATIONS using more than one column in the SELECT clause?

For example:

SELECT NAME, AGE FROM tableA
MINUS
SELECT NAME, AGE from tableB


Yes - see the MINUS example.

They operate on the column(s) in the SELECT clause, and require the data types, not the column names, to match in order to work.

0

精彩评论

暂无评论...
验证码 换一张
取 消