Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 group , order by

Author  Topic 

niranjankumark
Posting Yak Master

164 Posts

Posted - 2008-05-15 : 08:43:46
i have 10 columns selected .. i need to write qry group by of 5 columns and order by of one column .. then it get satisfied.. is it possible to do ???

harsh_athalye
Master Smack Fu Yak Hacker

5581 Posts

Posted - 2008-05-15 : 08:46:46
Post the query then only we would be able to tell.

Harsh Athalye
India.
"The IMPOSSIBLE is often UNTRIED"
Go to Top of Page

niranjankumark
Posting Yak Master

164 Posts

Posted - 2008-05-15 : 08:59:08
just i cud not explain that qry it is very big one .. pls just tell i have selected 10 columns ( no aggregate funtion in select ) , in that 5 columns must be do grp by .. one is order by
Go to Top of Page

jsmith8858
Dr. Cross Join

7423 Posts

Posted - 2008-05-15 : 09:02:40
quote:
Originally posted by niranjankumark

i have 10 columns selected .. i need to write qry group by of 5 columns and order by of one column .. then it get satisfied.. is it possible to do ???



Yes.

- Jeff
http://weblogs.sqlteam.com/JeffS
Go to Top of Page
   

- Advertisement -