Quantcast
Channel: SCN: Message List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 8968

Using CE_JOIN with two join fields?

$
0
0

Hi,

I am trying to join two tables using the CE_JOIN function. The SQL statement looks like this:

AIRPORT_LOC =

Select a."MANDANT", a."AIRPORT", a."MASTERCITY", b."NAME", a."COUNTRY", b."TIME_ZONE"

   FROM "SFLIGHT"."SCITAIRP" as a

       INNER JOIN "SFLIGHT"."SAIRPORT" as b

            ON a."MANDANT" = b."MANDT"

            AND a."AIRPORT" = b."ID"

       WHERE a."AIRPORT" = :AIRPORT_CODE;

 

All the examples that I see for CE_JOIN use a single join field. Can someone help me with a CE_JOIN function for the above SQL statement?

 

Thanks,

Benedict


Viewing all articles
Browse latest Browse all 8968

Trending Articles



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