i wirte this code in query for finding (Mahdi (family)) which is they are in pid 2 (ahmad & alireza) so how cani find them in final result ??
Here