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?
Answer Posted / 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 |
Post New Answer View All Answers
How do you create tables? Exact syntax, and create profiles, users in teradata?
What are the string manipulation operators and functions associated with teradata?
When tpump is used instead of multiload?
What is bteq script in teradata?
What is database exceptions in teradata?
What is basic teradata query language?
how do you manage the production space. what are the proactive methods you can take ?
Explain the term 'tables' related to relational database management system?
What is called partitioned primary index (ppi)?
How is MLOAD Teradata Server restarted after execution?
Can any one explain me the difference between BTEQ and MLOAD,TUMP. All canbe used for same purpose but still differnt methods. why ?
How many tables can you join in v2r5?
What are the steps to create a data model?
Explain amp in teradata?
My table got locked during mload due to a failed job. What do I do to perform other operations on it?