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 / hareesha k

GROUP BY is used to group values from a column, and, if
necessary, perform calculations on that column. We can use
aggregation functions (e.g. COUNT, SUM, AVG) on the grouped
column.
The result of the GROUP BY is ordered by the column that
grouped.

The ORDER BY clause is used only for ordering(Sorting) the
query results.Asc by default.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is pragma autonomous_transaction?

876


Can you tell a way to know the number of days between the two given dates in php?

1098


What are the 'mysql' command line arguments?

1015


How to enter boolean values in sql statements?

1134


How can we find out which auto increment was assigned on Last insert?

1100


What is msql?

997


Where is the mysql database stored?

914


what is the default port for mysql server? : Mysql dba

1049


Does facebook still use mysql?

935


How to escape special characters in sql statements?

977


What is mysql slow query?

956


What are stored procedures and functions?

905


What is view? How can you create and drop view in mysql?

934


What are the benefits of mysql?

935


How to enter Characters as HEX Numbers?

1013