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 do you eliminate duplicates?

Answer Posted / yuvaevergreen

yes...the above option can be used if access has been
provided to create set tables.If not, partition by clause
can be used.
1. create table2 as table1 with no data;
2. insert into table2
sel column1,column2,,,columnn from table1
group by 1,2
qualify row_number() over (partition by
column1,column2,,,columnn order by
column1,column2,,,columnn desc) =1
where table1 is with duplicates and table2 would be target
table.

Is This Answer Correct ?    12 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When tpump is used instead of multiload?

1144


Briefly explain each of the following terms related to relational database management system (rdbms) – database, tables, columns, row, primary key and foreign key.

1081


Difference between multiload and tpump?

1158


How do you verify a complicated sql?

1115


What are the main components of teradata system?

1194


Is multi insert ansi standard?

2251


What is database exceptions in teradata?

1000


What is a three-tier data warehouse?

1154


How can bottlenecks be identified?

1061


What are the 5 phases in a multiload utility?

1088


what are the uses of fact table and dimension table in banking project?

4600


What are the frequently used data types in teradata?

1136


Explain BYNET.

1055


How to identify ppi columns?

1246


How do you see a ddl for an existing table?

1061