BookmarkSubscribeRSS Feed
vivek_pp
Calcite | Level 5

Hi,

How do i combine 3 tables having one common field in to one single table in SAS EG using Point and Click system?

For Ex:

Table 1

Number
Column X
1

a

2b
3c

Table 2

NumberColumn Y
1f
2g
3h

Table 3

Number
Column Z
1m
2n
3o

Now i want the resultant Table to be in this format.

NumberColumn XColumn YColumn Z
1afm
2bgn
3cho
1 REPLY 1
Doc_Duke
Rhodochrosite | Level 12

What you have described is an "inner join", not a 'distinct union'.

Inner joins of multiple tables are done using the "Query Builder" task in EGuide.  Look in the EGuide help under 'joining tables' as the process may vary slightly depending on your version of EGuide.

Doc Muhlbaier

Duke

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1083 views
  • 0 likes
  • 2 in conversation