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
What are the primary characteristics of the Teradata.
What are the design features involved in teradata?
There is a column with date in it. If I want to get just month how it can be done? Can I use sub string?
What are differences between teradata and ansi session modes in teradata?
Can we collect statistics on table level?
What are types of partition primary index (ppi) in teradata?
What is bteq script in teradata?
How do you set the session mode parameters in bteq?
My table got locked during mload due to a failed job. What do I do to perform other operations on it?
Briefly explain each of the following terms related to relational database management system (rdbms) – database, tables, columns, row, primary key and foreign key.
What do high confidence, low confidence and no confidence mean in explain plan?
What is the purpose of indexes?
What are the different functions included in the server software?
What are normalization, first normal form, second normal form and third normal form?
What are default access rights in teradata?