You can enter the SQL statements in the Query text field of the SQL
Property window.
Creating a Query
You can open the Query Designer to graphically construct a query.
Looking Up the Database Schema
You can select tables and attributes for your statements from the associated database schema by clicking the Database Lookup icon. In the Database Lookup window, select the tables and attributes you want to use in the statement and click OK.