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

Answer Posted / jagadeesh

Groupby: It is a way to sub-total your results,or perform
some other 'aggregate' functions on them.
Orderby: It is a simply a way to sort your results. It
doesn't affect what shows up in your result set,only what
order it is displayed.

Is This Answer Correct ?    228 Yes 35 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you insert a table?

494


How many ways we can retrieve the date in result set of mysql using php?

519


What are the objects can be created using CREATE statement?

542


What are the disadvantages of stored procedures?

488


How to decrement dates by 1 in mysql?

508






What is the difference between mysql_fetch_array() and ysql_fetch_object() ?

503


How do I install mysql workbench?

472


What are the differences between char and nchar?

526


What is difference between mysqli and pdo?

467


What are the advantages and disadvantages of using mysql?

498


suppose data is copie to oracle to sql by using DTS. Actully it taken 2 hours. suppose some day distribute the server in the middle of 2 hours. after how can i get the data ?

1663


What are federated tables?

596


What is a definer?

464


how to connect a php script with the mysql database?

538


How to change a password for an existing user via mysqladmin?

559