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

Write a single SQL to delete duplicate records from the a
single table based on a column value. I need only Unique
records at the end of the Query.

Answer Posted / milind

Nested query method might be required in other databases
how ever in TD we don’t need to follow such a difficult way
to just find out the unique rows.

In TD we have functions like Rank () and Rownum() in the
combination of Qualify, helps you to select out the rows
which you wants to delete.

you can add a condition like ‘Where Rank() > 1’

Is This Answer Correct ?    3 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Highlight a few of the important components of Teradata?

1025


What's the difference between timestamp (0) and timestamp (6)?

1181


What are some primary characteristics of teradata?

998


Can we have an unconnected lkp to lookup a db2 record against a teradata record? Doesnt seem to work. I could be wrong

1071


What are the primary characteristics of the Teradata.

1137


how many modules are there in telecome domain?how to explain the architecture?

2013


What is partitioned primary index (ppi)?

1044


What is meant by a Virtual Disk?

1124


What is a level of granularity of a fact table?

1149


What do you mean by fastexport in teradata?

993


What is teradata? Also, list out some of the primary characteristics of teradata.

1051


Give a justifiable reason why Multi-load supports NUSI instead of USI.

1150


What are the things to be considered while creating secondary index?

1096


Define views in teradata with general syntax.

1021


Comment whether bottleneck is an error or not.

1147