The source window as seen on the right, also containing syntax highlighting, is used for the query. One enters the source here, and then a query can be run based on this source.