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...

difference between group clause and order clause

Answer Posted / sathy

group by clause is used to group the column values using
corresponding column values
group by cannot use where condition, instead of where it can
use having which has same function as where

order by is used to order the records in order ie.,
ascending or descending.
order by can use where, but not having having is only for
group by.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I understand Join always perform better than subqueries. Then what is the advantage/use of Subqueries/correlated subqueries etc.,in DB2 programming.Please explain.

2008


What is cursor stability in db2?

1277


What os does db2 run on?

925


How to find schema of a table in db2?

951


How can record locking be achieved in those DB2 versions which do not support it?

1019


Name the various locking levels available?

1035


What is a db2 tablespace?

999


Is ibm db2 open source?

1013


How will you return the number of records in table?

880


How to compare data between two tables in db2?

1032


Explain in brief how does db2 determine what lock-size to use?

959


Explain packages.

1055


What is schema in db2?

962


Why cursor is used in db2?

985


What are host variables in db2?

991