After you have created a query, you can test it from the Query Test
tab.
To Test A Query
Click the Query
Test tab to view the XML generated by the query builder for the
objects, fields and filters defined. Click Test/Requery
to test the syntax and execution time of your query.
Click the Actual
Query tab to view the query syntax.