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

whrere cluase for all rows matches between tables

$
0
0

Hi

 

i have two tables like below

 

table1table2
IDCOL1COL2IDCOL1COL2
112112
134134
1156
1178
212212
234234
256256
278278

 

 

 

I want to find the id where it matches all rows for the id with second table

 

When i query in hana I am getting both id's

 

As only one id i.e id 2 matches all rows with second table i am getting id 2 as expected but i am getting id 1 aswell though all the rows dont match..

 

I tried all joins Please help me.


Viewing all articles
Browse latest Browse all 6412

Trending Articles