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

What are the different design perspectives used in teradata?

543


What exactly do you know about catching in teradata?

631


What can be achieved by using the teradata rdbms?

620


What is a level of granularity of a fact table?

637


What is meant by a Virtual Disk?

572






What do you mean by fastexport in teradata?

551


any one answer me how they can analyzing the project using data ware housing?

2021


What is a node in teradata? Explain

597


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

569


Can any one explain me the difference between BTEQ and MLOAD,TUMP. All canbe used for same purpose but still differnt methods. why ?

2993


Explain teradata architecture?

626


What are the functions of a Parser?

602


What is the difference between fastload and multiload?

787


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

540


What are the various indexes in teradata?

561