Hi, I have a problem with joins.person id,person name are stored in one table.industry headid, sector headid... are stored in other tables,which I have to join with the person
id to get the name.Hence this person id is queried 4 times.
a11.Z_PRSN_OPRID = a12.ESA_PERSON_ID and
a12.ESA_PERSON_ID = a13.Z_INDLEAD_OPRID and
a12.ESA_PERSON_ID = a13.Z_SECTLEAD_OPRID and
a12.ESA_PERSON_ID = a13.Z_SEGLEAD_OPRID .
the person name is in a12,indlead,sectlead,seglead all have different values in a row and finally all the rows are dropped instead of displaying the names for indlead, sectlead..in every row.Is there any way I can do this.Thanks for any suggestions.
mstms
id to get the name.Hence this person id is queried 4 times.
a11.Z_PRSN_OPRID = a12.ESA_PERSON_ID and
a12.ESA_PERSON_ID = a13.Z_INDLEAD_OPRID and
a12.ESA_PERSON_ID = a13.Z_SECTLEAD_OPRID and
a12.ESA_PERSON_ID = a13.Z_SEGLEAD_OPRID .
the person name is in a12,indlead,sectlead,seglead all have different values in a row and finally all the rows are dropped instead of displaying the names for indlead, sectlead..in every row.Is there any way I can do this.Thanks for any suggestions.
mstms