![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
If there is a query that is actually composed of a series of selects that are grouped together with UNIONS and within each major select there is a subquery something like this: SELECT DISTINCT EMPLOYEEID FROM EMPLOYEE_ADDR would that clause be executed separately with each UNION part or would it be executed just a single time and the result would be passed to each part of the union? I hope it is the latter. Any comments? |
#3
| |||
| |||
|
|
I think seperatly wich each union maby you can use such like Select distinct a from (select distinct a from b union select distinct a from c ) |
#4
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |