informer30
MIS
Hi All
I am new to oracle sql and wanted to know about the union command.
for example you have
select a.field1, a.field2, a.field3
from product a
union
select b.field1, b.field2, b.field3
from product1 b
The resultset is a distinct, i.e. I am correct in thinking all 3 fields have to be the same for the distinct record to show?
Many Thanks
I am new to oracle sql and wanted to know about the union command.
for example you have
select a.field1, a.field2, a.field3
from product a
union
select b.field1, b.field2, b.field3
from product1 b
The resultset is a distinct, i.e. I am correct in thinking all 3 fields have to be the same for the distinct record to show?
Many Thanks