hi
I have two tables such that the first gives the details of an employee such as his name,emp number,fathers name,date of birth etc. and a secondtable containing employee relations such as the emp number,family member name (fathers name,mothers name,spouces name,childrens name).
i amtrying to display the employee number,name,fathers name,city along with the kind of relation,(that is the fathers name,the mothers name etc ) such that with every entry I get 4 results for each relationship (ie the father,mother,spouce and child).
however, my code only displays the fathers name..not any of the other relationships.
first tab has empno as the key
second tab had empno and relationid as the key where relationid is the kind of relationship(f for father,m for mother and so on).