Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More SAS Interview Questions

what are all the ways to define macro variable??

2 Answers   GSK GlaxoSmithKline,


How do i read multiple spaces in datasets?

4 Answers   Quintiles,


explain what is factor analysis? : Sas-administrator

0 Answers  


How will you generate test data with no input data?

0 Answers  


what is hash files in sas and why we are using this one in sas?

0 Answers   L&T, SAS,


what is the difference between SET and MERGE?

19 Answers   CitiGroup,


What is SAS? What are the functions does it performs?

0 Answers  


what is transformation in sas data integration? : Sas-di

0 Answers  


how can you put a "trace" in your program? : Sas programming

0 Answers  


if a variable contain dates like "2015/01"---"2015/12" (yymm) ,How to add day to those dates,if them month is jan then 31 if the month is feb then 28 so on ...

0 Answers   Accenture,


What does the trace option do?

0 Answers  


what is chi-square test? have you used that?

1 Answers   Accenture, Quintiles,


Categories