Hello bhagya Laxmi,
thank you for posting on the Microsoft Community Forums.
Based on the description, I understand that your issue is related to SOQL.
Since SOQL is not a Microsoft product, it is part of the Salesforce platform. In order to be able to deal with your questions quickly and efficiently, I recommend that you repost your questions in the forum for Salesforce, where there will be a dedicated engineer to provide you with a professional and effective response.
Have a nice day.
Best regards,
Lei