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

Need Help in Infoset Query

$
0
0

Hi friends,

 

I need to develop a global query for the below requirement;

 

Requirement:

 

Find WS AF records with no default methods

 

select

a.ZZ_NSSHP "Shipment Type"

b.ZZ_FLTORG "flight Origin",

b.ZZ_FLTDEST "flight Destination",

c.ZZ_IATA_NUM "IATA"

from

ZFT_CSISUM_DRVD a,

ZFT_CSIAF_RAW b,

ZFT_CSIAF_DRVD c

where

a.ZZ_TRSQ = b.ZZ_TRSQ

and b.ZZ_TRSQ = c.ZZ_TRSQ

and b.ZZ_LEG = c.ZZ_LEG

 

 

and not exists

 

select *

from

ZFT_SHPTYP_MODEL d

where

d.ZZ_NSSHP = a.ZZ_NSSHP

and d.ZZ_IATA_NUM = c.ZZ_IATA_NUM

and d.ZZ_FLTORG = b.ZZ_FLTORG

and d.ZZ_FLTDEST = b.ZZ_FLTDEST

 

Detail Description : Basically there are two parts in this;

 

a) in first part, we need to fetch data from 3 table as below based on the where condition mentioned;

ZFT_CSISUM_DRVD a,

ZFT_CSIAF_RAW b,

ZFT_CSIAF_DRVD c

 

b) In second part; using the output of first select we need to check data which is not similar ( not exists ) in table ZFT_SHPTYP_MODEL d

 

 

Please suggest me how to approach.

 

 

Thanks and Regards,

Swapnil


Viewing all articles
Browse latest Browse all 9129

Trending Articles



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