Use the Query window to create a new query.
The Query window appears, as Figure 76 shows.
Figure 76 shows the Query window with the Query text box completed and stores_demo selected from the selection list.
The query-definition window appears, as Figure 77 shows. The name that you chose for your query appears in the title bar.
Figure 77 shows the following simple query of the customer table of the stores_demo database:
SELECT customer.fname, customer.lname, customer.zipcode FROM customer WHERE zipcode > 50000
If you prefer, you can type the entire query into the Select text box. If you later edit the query, ipload divides the query into SELECT, FROM, and WHERE clauses.
The query that you just created now appears in the Query list box at the right-hand side of the Query window.