You can enter a SELECT statement for the port straight into the port field, or you can open the Query Designer by clicking Query Designer.
To control the automatic join generation (enable/disable), go the File | Preferences menu.