Get parent records with atleast one child record in SOQL February 16, 2016June 9, 2022Magulan Duraipandian Sample Query: SELECT Id, Name FROM Account WHERE Id IN (SELECT AccountId FROM Contact) Cheers!!!