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

Explain the meaning of Amp?

1233


What are the newly developed features of Teradata?

1081


What is called partitioned primary index (ppi) and discuss the advantages of using it in a query?

1073


What do you mean by teradata sql assistant?

1109


What are the steps involved in the process flow of the sql statement through channel attached system?

1157


what is sysdba and sysdbc ? which has high priority ?

3882


What is meant by a node?

1072


What is the difference between teradata and oracle?

1064


Explain the term 'row' related to relational database management system?

997


What are the main components of teradata system?

1191


What are the commands to make a new table, change a table and remove a table in teradata?

1181


What are types of partition primary index (ppi) in teradata?

1100


What are the various indexes in teradata? How to use them? Why are they preferred?

1107


What is upsert statement in teradata?

1185


Difference between multiload and tpump?

1154