Once you have your SOQL query, you may follow these steps to leverage the query for your investigation:
UI:
Go to Setup from the Setup Menu.
In the main Quick Find box, search for "Object Manager" and select it.
Once in the Object Manager, use the Quick Find box within the Object Manager to type the object in question.
Important Note: Do not include underscores (_) or the __c suffix. For example, "Account__c" should be searched as "Account".
Click the object name to access its details.
5. Here, you can review the object's details and schema to understand its contents.
CLI:
You may also recreate the SOQL queries by doing the following:
Authenticate to your Salesforce Org:
Run the following command in your terminal. This command will open a web browser for you to log into your Salesforce organization.
sf org login web --alias myorg
Tip: You can replace --alias myorg with a different alias to easily identify your org.
Execute Your SOQL Query:
Once authenticated, you can run your SOQL query. Replace the example query "SELECT Id, Name, Account.Name FROM Contact" with your specific SOQL query after --query.
sf data query --query "SELECT Id, Name, Account.Name FROM Contact"
This command will execute the specified SOQL query against your authenticated org and display the results in your terminal
Reference:
005132577

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.