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 / petko petkov

The following example shows how to create table and insert
data without duplicate rows from existing table:

CREATE TABLE NODUPS AS
(
SELECT * FROM Departments
UNION
SELECT * FROM Departments
)
WITH DATA;

Is This Answer Correct ?    10 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain teradata utilities. What is multiload, fast load, tpump?

945


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?

1129


How to find duplicates in a table?

1130


What are the enhanced features in teradata v2r5 and v2r6?

1078


What is the use of virtual processor connectivity in teradata?

940


What is node? How many nodes and amps used in your previous project?

1060


Is multi insert ansi standard?

2143


What is the purpose of joins in teradata?

1060


What do you mean by teradata sql assistant?

995


What is bteq utility in teradata?

914


What is a node in teradata?

932


How to view every column and the columns contained in indexes in teradata?

979


What is the difference between teradata and basic rdbms?

949


What is partitioned primary index (ppi)?

997


Explain some differences between mpp and smp?

1035