.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Easy Web
Imran Ghani

Home >> Forum >> Sql Server >> Post New QuestionBookmark and Share Subscribe to Forum

Oracle Group by clause

Posted By: Dhivakaran     Posted Date: October 27, 2010    Points:2   Category :Sql Server
When you use a GROUP BY clause with one or more columns, will the results be in the sorted order of GROUP BY columns or shall we use ORDER BY clause?


Responses
Author: Deco             
Posted Date: October 27, 2010     Points: 5   

Yep, It would sort the fields in ascending order by default.

if you want to view the result set in descending order then use order by clause

Regards,
Deco


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend