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 components provided on node?
Explain the most common data types used in teradata?
What is the maximum number of dml can be coded in a multiload script?
What is logical data model?
What are the updated features of teradata?
Describe the set operators in teradata.
Explain the term 'foreign key' related to relational database management system?
Difference between stored procedure and macro?
Explain parsing engine in teradata?
What is the syntax for case when statement?
My table got locked during mload due to a failed job. What do I do to perform other operations on it?
Can we have two time dimensions in a schema(either star or snow flake)? For ex if we want joining date of employee and if we want today's sales with time whether can we have two time dimensions for accommodating above tasks?
What are the steps involved after the disk manager passes the request?
What is a node in teradata? Explain
What are the available primary index types?