This image shows the Query tab selected in the left-hand pane. The right-hand pane has the Select field with the query statement.