I have a table with columns as:
ID Hold_id Relationship age
789 123 01 67
890 123 02 30
897 123 06 29
234 134 01 40
245 134 07 12
246 134 06 17
Id=Clients_id, Relationship 01-father
02-friend
06-Son
07-Daughter
I want the o/p as
789 123 06 29
234 134 07 12
246 134 06 17
Ages of Son's & Daughter with thier parents IDs..
ID Hold_id Relationship age
789 123 01 67
890 123 02 30
897 123 06 29
234 134 01 40
245 134 07 12
246 134 06 17
Id=Clients_id, Relationship 01-father
02-friend
06-Son
07-Daughter
I want the o/p as
789 123 06 29
234 134 07 12
246 134 06 17
Ages of Son's & Daughter with thier parents IDs..