Hi All,
My below join working perfectly. Now I need to add one more condition for existing join.
In M table I have one column ‘Type’=2 then I need +1 date condition including below join in E table and remaining types equal dates.
selectdistinctb2.*,dm.*
intoC
FROMbb2 LEFTOUTERJOIN Mdm
ONb2.CPT=dm.CPTLEFTOUTER JOIN E erPON b2.MBR_KEY=erp.MBR_KEYandb2.DATE=erp.DATE
Thanks
CMK