To view the query code that has been generated by the selections and criteria made on the query, click on the SQL tab. You can look at this tab at any stage.
It simply echoes your in SQL code, and will be as simple or as complex as you have made your query.