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 the query for retrieve the unique values(not display the duplicates values) from single table?
Can you fastexport a field, which is primary key by putting equality on that key?
Does SDLC changes when you use Teradata instead of Oracle?
What is FILLER command in Teradata?
What are the different functions performed in development phase?
What is meant by Teradata Gateway?
What is the use of fallback?
Explain fallback in teradata?
What is the use of having index on table?
In BTEQ, how are the session-mode parameters being set?
Why do you get spool space errors? How do trouble-shoot them?
How to select first n records in teradata?