hii , I have Account as Parent object and Sales_Hirachy__c as chiled object. There is a master-detail Reationship . I have child to parent relationship list<Sales_Hirachy__c > S=[select id, Child_Party_Role__c, Party_Role__c, Account.id from Sales_Hi