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 is difference between N and n????

2 Answers   Sciformix,


what is the difference between proc means and proc summary?

2 Answers   Accenture,


What SAS statements would you code to read an external raw data file to a DATA step?

6 Answers   Accenture,


In the flow of DATA step processing, what is the first action in a typical DATA Step?

6 Answers   Accenture,


What is the difference between %put and symbolgen? : sas-macro

0 Answers  


Explain input and put function?

0 Answers  


What is instream data in SAS?

1 Answers  


What are common programming errors committed in sas

0 Answers  


What are the joins,types of joins and thier functions?

7 Answers   SAS,


how to change the execute of macro

0 Answers   Mind Tree,


What are the functions done while Compilation...?

1 Answers   TCS,


I have 3 years of work experience at a startup and recently got certified in Data Science with SAS. I need to know how to get into the analytics industry

0 Answers  


Categories