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 will show all records containing the name "sonia" and the phone number '9876543210'

860


How would you enter characters as hex numbers?

878


What, if a table has one column defined as TIMESTAMP?

935


What is mysql_query?

797


What is 'mysqld'?

878


What is delimiter in mysql?

812


What language does mysql use?

836


What is a crosstab query?

900


What is regexp?

1082


How do I create a database in mysql workbench?

826


What is a query in mysql?

924


Is mysql an oracle product?

791


How to enable or disable a row of a table using MySQL in struts?

4038


What is the difference between b-tree and hash indexes?

943


What is the default port of mysql server?

970