Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

Concatenate o/p of two select statements - response (3) by KS42982

$
0
0
The above solution would work perfectly with the scenario you mentioned. However, if you have more than one column to concatenate in your results and there is absolutely NO relation between 2 tables then you can try something like below too. SEL col1,col2,col3, MAX(eff_date), COUNT(table2.xyz), ... FROM table1, table2 WHERE 1=1 GROUP BY 1,2,3

Viewing all articles
Browse latest Browse all 14773

Trending Articles



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