adspace


Does group by sort data?

Answer Posted / Shambhu Kumar

By default, GROUP BY does not sort data. If you want your data sorted after being grouped, you should use the ORDER BY clause.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are different types of constraints?

1003


How to enter binary string literals in ms sql server?

1246


How do I create a trace in sql server?

1121


Disadvantages of the indexes?

1225


Can you index views?

955


How to connect php with different port numbers?

1191


Equi join and non equi join is possible with sql server?

1134


How do I find query history in sql server?

1025


Can we make the the chages By Using the Sql if u know any function or process please inform me Actuall result: BRK1 Break 1 Part 1 00:01:00:00 60 BRK1 Break 1 Part 2 00:01:00:00 60 BRK2 Break 2 Part 1 00:01:00:00 60 BRK2 Break 2 Part 2 00:01:00:00 60 BRK2 Break 2 Part 3 00:01:00:00 60 BRK3 Break 3 Part 1 00:01:00:00 60 BRK3 Break 3 Part 2 00:01:00:00 60 Desired O/P: BRK1 Break 1 Part 1 00:01:00:00 60 Part 2 00:01:00:00 60 BRK2 Break 2 Part 1 00:01:00:00 60 Part 2 00:01:00:00 60 Part 3 00:01:00:00 60

2296


What is normalization and what are the advantages of it?

1057


What are the kinds of subquery?

1109


do you know how to configure db2 side of the application? : Sql server database administration

1125


If you're given a raw data table, how would perform etl (extract, transform, load) with sql to obtain the data in a desired format?

1048


What is acid mean in sql server?

1247


What are wait types?

1250