Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: Join issue

$
0
0

You can get your required result also by a UNION ALL, no FULL OUTER JOIN is necessary.

 

select showroom, sum(act) as "ACT", sum(plan) as "PLAN"
from
(  select showroom, act, 0 as plan  from SALES_ACT  union all  select showroom, 0 as act, plan  from SALES_PLAN
)
group by showroom

Viewing all articles
Browse latest Browse all 9165

Trending Articles



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