Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3462

Achieving Subquery filter with Max value in Webi

$
0
0

Hi All,

 

I need help with achieving the following SQL output through Webi, here a little background on the tables followed by the SQL that needs to be achieved on the report,

 

From database we have connection_enum table, we are able to bring this table into IDT , here is the SQL in question:


select    root

from      connection_enum e1

where   e1.id =1234

             and Column1 = (select max(Column1) from connection_enum  e2

                                   where e2.num = e1.num)

 

Please feel free to share your thoughts or insight on this, any help on this will be appreciated.

 

Thanks

GauravB


Viewing all articles
Browse latest Browse all 3462

Trending Articles