To create a combined query

Create a simple query and click Add a combined query.

A new pane is added to the Query Panel under the tree view. You can switch between your query definitions by clicking the nodes in this pane.