Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Sorting Order with Group By

This is a discussion on Sorting Order with Group By within the SQL Server forums, part of the Databases category; Group by how does the sorting order vary if i use 1) only group by clause 2) only order by clause 3) both group by and order by please depict ...

Go Back   Geeks Talk > Databases > SQL Server
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read

SQL Server SQL Server is a Database Management System(DBMS) by Microsoft

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-09-2009
Junior Member
 
Join Date: Jun 2009
Location: here
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Mysqlgeeksforum is on a distinguished road
Sorting Order with Group By

Group by how does the sorting order vary if i use 1) only group by clause 2) only order by clause 3) both group by and order by please depict with an example.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-10-2009
Contributing Member
 
Join Date: Jun 2009
Location: United States
Posts: 71
Thanks: 0
Thanked 5 Times in 4 Posts
CSOOR is on a distinguished road
Re: Sorting Order with Group By

Group by and Order by use the working table , so the order differs from the actual physical order.
Reply With Quote
Reply

  Geeks Talk > Databases > SQL Server

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
difference b/w "group by" and "order by" ? jainbrijesh SQL 10 04-21-2009 02:00 AM
Sorting on date Bobbyvad MainFrame 0 03-03-2008 01:07 AM
how can we group that these test cases only should be automated and in which order yo suneetham QTP 1 02-13-2008 10:37 AM
Group by and order by jainbrijesh SQL Server 4 01-23-2008 12:22 AM
Help with Sorting with Comparator henri084 Java 1 10-24-2007 02:01 AM


All times are GMT -4. The time now is 05:46 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved