--Que-5) Select CTM_NBR,LIST_CO DE,ADR_CDE,ADR_ FLAG
--From table A,B,C,D by linking the tables where
--the LIST_CODE=18.
TABLE A Has Column CTM_NBR
TABLE B Has Columns CTM_NBR , ADR_CDE , ADR_FLAG
TABLE C Has Columns LIST_CODE , CTM_NBR, ADR_CDE
TABLE d Has Column LIST_CODE
select CTM_NBR,LIST_CO DE,ADR_CDE,ADR_ FLAG from A,B,C,D
where A.CTM_NBR = B.CTM_NBR
AND
B.CTM_NBR = C.CTM_NBR
AND
C.LIST_CODE=D.L IST_CODE
AND
D.LIST_CODE=18
I have tried the aboce Query but its not working,Plz reply asap,Its Urgent.
--From table A,B,C,D by linking the tables where
--the LIST_CODE=18.
TABLE A Has Column CTM_NBR
TABLE B Has Columns CTM_NBR , ADR_CDE , ADR_FLAG
TABLE C Has Columns LIST_CODE , CTM_NBR, ADR_CDE
TABLE d Has Column LIST_CODE
select CTM_NBR,LIST_CO DE,ADR_CDE,ADR_ FLAG from A,B,C,D
where A.CTM_NBR = B.CTM_NBR
AND
B.CTM_NBR = C.CTM_NBR
AND
C.LIST_CODE=D.L IST_CODE
AND
D.LIST_CODE=18
I have tried the aboce Query but its not working,Plz reply asap,Its Urgent.
Comment