Question: how to access soql in salesforce?
Answer: Enter a SOQL query or SOSL search in the Query Editor panel.
If you want to query tooling entities instead of data entities, select Use Tooling API.
Click Execute.