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

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

736


why is a stop statement needed for the point=option on a set statement? : Sas programming

587


If you use a symput in a data step, when and where can you use the macro variable? : sas-macro

609


AE datasets names? how many types?

2077


how would you create a data set with 1 observation and 30 variables from a data set with 30 observations and 1 variable? : Sas programming

842






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

2250


What are the statements that are executed only?

674


What would you change about your job?

1926


what is sas metadata repository? : Sas-bi

601


Differentiate input and infile.

596


what is the basic structure sas administrator? : Sas-administrator

563


What will calendar procedure do?

597


what is slowly changing dimension? : Sas-di

626


What is the difference between using drop = data set option in data statement and set statement?

638


how sas deals with business intelligence? : Sas-bi

586