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

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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