
1 respuesta
Hi,you want data like for one parent record if there is 3 child record then you are looking for that .. if yes thenyou can try this queary SELECT id,Name,(SELECT id,Account.Name FROM Contacts) FROM accountAnd if we see your QUERY and if we convert it in to account contact relationship it will look likeSelect id,name from account where id NOT IN ( select AccountId from contact where accountId =: id)and this query will not return any records.please let me know if i am wrong to understand your problem.Thanks,Keyur Modi