Hi team,
I have two tables
Need the output will be like below by using SAS code.Please help me to do this.
Thanks,
harish
Remember, two variables can not have the same name.
Do something like this
data tableA; input slno Name $; datalines; 1 HARISH 2 GIRISH 4 RAMYA 5 RAMU 6 RAVI ; data tableB; input slNo working $; datalines; 3 tcs 5 tcs 2 cts 1 hp 4 wipro 5 ge 7 NA ; data want; merge tableA tableB(rename=(slNo=slNo_B)); run;
Thanks for your help.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.Register now and lock in 2025 pricing—just $495!
Register now
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.