one table have
input
no name
10 rao
20 siva
30 srinu
10 rao
i want to ouput like this way
no name
20 siva
30 srinu
10 rao
how it posible in only sql server query?not oracle?
Answers were Sorted based on User's Feedback
Answer / babu
Hi,
sel no,name from table group by no,name order by no,name;
Is This Answer Correct ? | 6 Yes | 3 No |
Answer / ankal
This problm solve only using Distinct or Group by
syntax:
1:sel distinct no,name from tablename;
2:sel no,name from tablename group by no,name;
Is This Answer Correct ? | 3 Yes | 1 No |
Answer / tdguy
use distinct or group by to avoid duplicates in teradata.
Is This Answer Correct ? | 1 Yes | 0 No |
What is a pseudo key? What is its use???
List out some of the primary characteristics of teradata.
What are the various etl tools in the market?
"pravalli nagireddy" record is there in address column but i want display only 'nagireddy' from the main string what is query for that pls tell me
What is the difference between correlated sub queries and inner queries?
How do you check the performance of Teradata Query and list down the basic Performance Tuning steps you use?
Can we collect statistics on multiple columns?
Where is teradata rdbms used?
Explain about Skew Factor?
Can you load multiple data files for same target table using fastload?
Mention a few of the ETL tools that come under Teradata.
What is dimensional modeling?