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

Write a program to show the parser component used in teradata?

914


Give the sizes of SMALLINT, BYTEINT and INTEGER.

1105


What do high confidence, low confidence and no confidence mean in explain plan?

980


Why managing the data is important?

957


What do you mean by tpt in teradata?

960


What is logical data model?

1139


Let us say there is a file that consists of 100 records out of which we need to skip the first and the last 20 records. What will the code snippet?

1131


Where is teradata rdbms used?

1036


How to write the query . eid enm doj dob i want to display the names who worked more than 25 years .

1724


Describe the set operators in teradata.

952


What are the available primary index types in teradata.

973


What are the different methods ot loading a dimension table? A fact table etc?

977


What are the enhanced features in teradata v2r5 and v2r6?

1078


What happens in a conflict? How do you handle that?

987


What does Amp contain and what are all the operations that it performs?

940