Publishing queries are reports you can run to get an overview of all earnings accounts, sites or ad units that have been running in your chosen time period.
How to run a site query.
You can apply multiple filters to get the data you want. For example: if you have added labels to earnings accounts, sites or ad units, then you can filter by these labels to single out certain items in your reports.
Publishing query example - in this case an ad unit query.