The SQL Wizard will automatically determine the joins between tables in the select (if the database metadata has the foreign key - primary key relationships).