Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8430

Re: Union All is not bring the second part columns to the report

$
0
0

hi Paul,

 

a union combines record sets like this

 

field1     field2

1          2

 

union

 

field3     field5

2          8

 

will produce

 

field1     field2

1          2

2          8

 

note that there are no more field3 & field4 names. that's the way a union works.

 

if you need separate fields for your other values then you would need to use sub-queries instead.


Viewing all articles
Browse latest Browse all 8430

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>