Instead of manually typing SQL statements into the SQL text box, you can use the Database Items point-and-click interface to create complex SQL queries. The Database Items tree lets you select database objects and link them using the SQL SELECT, WHERE, and ORDER BY clauses. After you create a SQL query, you can define any variables using the Variables portion of the dialog box.
The following examples describe two SQL statements and the steps for creating them using the advanced Recordset dialog boxs Database Items tree.