Tools for working with queries in the Query Editor are the same as those used create queries in the New Query tab. See Working with the Query Builder.