how can u join the two tables without using proc sql Joins
and nested queries ?
Answer Posted / sai
we can join two tables by using merge statement and also by
using two SET statements .
data one;
set two;
set three;
run;
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Mention the category in which sas informats are placed?
Describe crosslist option in tables statement?
what are the types of interactive display types? : Sas-bi
What will calendar procedure do?
What are the difference between sas functions and procedures?
Have you ever used the SAS Debugger?
Tell e how how dealt with..
Name some categories in sas 9? : sas-grid-administration
What is the use of function Proc summary?
What are the uses of sas?
what is the basic structure sas administrator? : Sas-administrator
data data1; input dt account; format dt date9.; cards; 1745 1230 1756 1120 1788 1130 1767 1240 ; data data2; input startdt enddt total; format startdt date9. enddt date9.; cards; 1657 1834 12300 1557 1758 16800 1789 1789 12300 1788 1345 12383 1899 1899 13250 ; proc sql; create table data3 as select * from data1 as x left join data2 as y on x.dt>=y.startdt and x.dt<=y.enddt; quit; Here, we are getting cartision product. But,I want left join report consisting of this program. It should not get duplicate values. you can modify the program also.
How will you generate test data with no input data?
What is the function of Stop statement in a SAS Program?
Give an example where SAS fails to convert character value to numeric value automatically?