Select File--> Draw Query to create an SQL query automatically by specifying the tables to query and the query type, which can be a SELECT, UPDATE or INSERT query. The SQL statement is built automatically and it references the names and data types of all columns in the selected table or tables.
You can edit the SQL statement prior to running it.