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 are some primary characteristics of teradata?

0 Answers  


What do you mean by tpt in teradata?

0 Answers  


A certain load is being imposed on the table and that too, every hour. The traffic in the morning is relatively low, and that of the night is very high. As per this situation, which is the most advisable utility and how is that utility supposed to be loaded?

0 Answers  


how teradata fetches a row from primary index table?

1 Answers  


Difference between stored procedure and macro?

0 Answers  


What are differences between teradata and ansi session modes in teradata?

0 Answers  


tomorrow i have interview in infosys.can someone pour any suggestions or any interview questions. thank you

0 Answers  


Can any one please provide me practical example of How to do the performance tuning in Query??

5 Answers   Amdocs,


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

0 Answers  


What are the available primary index types in teradata.

0 Answers  


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

0 Answers  


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

0 Answers  


Categories