Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Join two tables having time period data

$
0
0

I have two tables like below.

 

empidDatefromDatetosalary
1231/1/201012/31/20102300
1231/1/201112/31/20132400
1231/1/201412/31/99992500

second table

 

empidDatefromDatetocc
1231/1/201012/31/2011c1
1231/1/201212/31/9999c2

 

 

I need to join above two tables such that the below table should be the output:

 

empidDatefromDatetoccsalary
1231/1/201012/31/2010c12300
1231/1/201112/31/2011c12400
1231/1/201212/31/2013c2

2400

1231/1/201412/31/9999c22500

 

 

Can anyone give hint how to write scripted CV to generate the o/p table above?


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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