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

i have a data set with 20 observations i want label from 8 to 15 observations ? how you create this one.

6 Answers   CTS,


Describe the function and untility of the most difficult SAS macro that you have written.

0 Answers  


How do you control the number of observations and/or variables read or written?

0 Answers  


What is the length assigned to the target variable by the scan function?

0 Answers  


how would you determine the number of missing or nonmissing values in computations? : Sas programming

0 Answers  


what are the new features included in the new version of SAS i.e., SAS9.1.3?

5 Answers   College School Exams Tests, Wockhardt,


What are the new features included in the new version of SAS Programming Language?

0 Answers  


What are common programming errors committed in sas

0 Answers  


How could you generate test data with no input data?

6 Answers   Quintiles,


What versions of SAS have you used (on which platforms)?

0 Answers   Quintiles,


What do the put and input function do?

0 Answers  


what is Enterprise Guide?what is the use of it?

2 Answers   CitiGroup, Oracle,


Categories