what is the query for retrieve the unique values(not display
the duplicates values) from single table?

Answers were Sorted based on User's Feedback



what is the query for retrieve the unique values(not display the duplicates values) from single ta..

Answer / suneel

Select distinct from tablename

Is This Answer Correct ?    7 Yes 1 No

what is the query for retrieve the unique values(not display the duplicates values) from single ta..

Answer / narsimha

select distinct columnsname from table

Is This Answer Correct ?    2 Yes 0 No

what is the query for retrieve the unique values(not display the duplicates values) from single ta..

Answer / nasimha

above answer is correct

Is This Answer Correct ?    2 Yes 1 No

what is the query for retrieve the unique values(not display the duplicates values) from single ta..

Answer / tdguy

If its for few columns and small table, use distinct or
group by to fetch only unique values. But for more no of
columns and more no of records in GB, use partition by to
fetch only unique values.

Is This Answer Correct ?    1 Yes 0 No

what is the query for retrieve the unique values(not display the duplicates values) from single ta..

Answer / mohith.dmdw

select distinct <column_name> from <table_name>;

Is This Answer Correct ?    0 Yes 0 No

what is the query for retrieve the unique values(not display the duplicates values) from single ta..

Answer / sarma

Select distinct * from table name

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Teradata Interview Questions

What is differnce between Error code and Error Level in Bteq

6 Answers   IBM,


What is the difference between fastload and multiload?

0 Answers  


teradata support to automatically increase the character length or not?

1 Answers  


Explain about Skew Factor?

6 Answers   TCS,


What is the purpose of upsert command?

0 Answers  






Explain the new features of teradata?

0 Answers  


What is the maximum number of dml can be coded in a multiload script?

0 Answers  


What is bteq script in teradata?

0 Answers  


On which column will you take primary index???

4 Answers  


How to identify ppi columns?

0 Answers  


Difference between stored procedure and macro?

0 Answers  


What is upsert statement in teradata?

0 Answers  


Categories