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...

how to delete the duplicate columns permanently in SQL

Answer Posted / naveen

data aaa;
input P_Id LastName $ FirstName $ City $;
cards;
1 Hansen Ola Sandnes
2 Svendson Tove Sandnes
3 Pettersen Kari Stavanger
;
run;
proc sql;
select distnict(city)
from aaa;
quit;

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give some examples where proc report’s defaults are different than proc print’s defaults?

1079


how does sas handle missing values in formats? : Sas programming

1148


Differentiate between format and informat? : sas-grid-administration

1069


What is the order of application for output data set options, input data set options and SAS statements?

1564


how to debug and test the sas program? : Sas-administrator

1044


How to create list output for cross-tabulations in proc freq?

1114


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

1070


how would you create multiple observations from a single observation? : Sas programming

1011


what is proc Index? and what is proc document?

2724


Can you execute macro within another macro? If so, how would sas know where the current macro ended and the new one began? : sas-macro

1201


Difference between informat and format?

1100


what is sas and what are the functions? : Sas-administrator

993


what are _numeric_ and _character_ and what do they do? : Sas programming

1158


Why and when do you use proc sql?

1252


What are the table names in oracle database...?

2759