Using the query builder to Join Tables
to join tables in the Query Builder, you begin by adding the tables to your query. You can join data from up to 32 different tables. For information about joining tables from multiple SAS servers, click the information button. When you add tables to the query, The Query Builder looks for columns that have the same column name and type. If a name and type is found, the table is join with an inner join and the tables and joins window does not open.
You can click join tables to see how the tables were joined. If you want to change the default Inner join to another type of join, you can double click the join symbol to open the join properties window. You can select from the list of join types that are available. The condition in the bottom of the window shows the operator used for comparing the values in the columns. The default is an equal sign, but other choices are also available.
You can learn more about the different join types in the SAS enterprise Guide Help. If no column name and type matches are found among the tables you add to the query, a message tells you to join the columns manually, and then the tables and joins window opens. You will learn how to manually join tables in the upcoming demonstration