Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the difference between GROUP BY and ORDER BY in
Sql?

Answer Posted / haritharavi

Order by clause is used to sort the rows in ascending or
descending order.Group by clause is used to sort/group a
number of rows together so as to apply aggregate functions.
So order by is only to sort the records where as group by
is to sort and find aggregate functions of each group.

Is This Answer Correct ?    32 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I know if mysql is running on windows?

1096


How to allow the user "sonia" to connect to the server from localhost using the password "passwd". Login as root. Switch to the mysql db. Give privs. Update privs.

1067


What is the difference between BLOB AND TEXT?

1156


Write a command to view mysql database table structure?

971


How do I find mysql location?

973


How to update info already in a table and delete a row(s) from a table.

859


Can we write pl sql mysql?

951


What language is mysql written in?

995


what is database black box testing? : Mysql dba

1122


What is myisamchk?

974


What does schema mean?

953


what is constraints? Also explain the different types of constraints?

974


If you are assigned a task, to find the information of procedures. What are the basic commands that you will use to do so?

960


How many primary keys can be there in a table?

994


How to display nth highest salary from a table in a mysql query?

996