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 / babu

Hi,

sel no,name from table group by no,name order by no,name;

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the advantages of partitioned primary index in a query?

563


What are the various indexes in teradata? How to use them? Why are they preferred?

590


if collect stats but it show low confidence why?

1185


Explain the term 'tables' related to relational database management system?

592


What are some primary characteristics of teradata?

546






What are the updated features of teradata?

578


What are the joins in teradata?

567


Can we collect statistics on multiple columns?

563


How does hashing happens in teradata?

619


What is teradata? What are some primary characteristics of teradata?

545


What are the steps involved after the disk manager passes the request?

576


What are the different table types that are supported by teradata?

535


What are the multiload utility limitations?

591


How do you do backup and recovery in teradata?

548


What is spool space and when running a job if it reaches the maximum spool space how you solve the problem?

652