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

What is the difference between fastload and multiload? Which one is faster?

588


If Fast Load Script fails and only the error tables are made available to you, then how will you restart?

627


Why managing the data is important?

582


How many tables can you join in v2r5?

615


What are the different softwares used with their functions in teradata?

567






What is partitioned primary index (ppi)?

552


What are the available primary index types in teradata.

580


Define views in teradata with general syntax.

563


Explain the teradata primary index mechanics in detail with a diagram.

559


What is the purpose of indexes?

581


How you will check the version of teradata?

574


Write a program to show the parser component used in teradata?

547


How do you create tables? Exact syntax, and create profiles, users in teradata?

548


Explain teradata utilities?

558


What do high confidence, low confidence and no confidence mean in explain plan?

583