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

Looking for advanced query in SAP HANA

$
0
0

Dear,

 

I have a table that look like the following:

 

idItem
1A
2B
3C
4K
4C
4B
5A

 

and I would like to have a query that show this new view:

 

Item 1Item 2
KC
KB
CK
CB
BK
BC

 

which is displaying Only the relation between items that has more than one record for the same id in the first table.

 

best regards,

Murhaf Khaled


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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