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 and having
give an example with query and sample output

Answer Posted / dinesh sharma

Group by is used To Group Result According To Group Name
Having Is Always Is Used With Group by Clause.
Having Contain Aggregate Function or Simple Sub Query .
as Show In Above Example

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Create and insert into temp table in sql server?

1084


How to insert multiple rows with one insert statement in ms sql server?

1180


How can you append an identity column to a temporary table?

1034


How to make remote connection in database?

1050


Explain the dbcc pintable command when would you use it?

970


What is sql service broker?

1026


How to assign null values to variables or columns?

1027


What is update_statistics command?

1121


What is report snapshot in ssrs?

280


How to use old values to define new values in update statements in ms sql server?

1331


Where to find ntwdblib.dll version 2000.80.194.0?

1008


What objects does the fn_my_permissions function reports on? : sql server security

1084


How do I find the port number for sql server?

1017


Which data type columns are the best candidates for full-text indexing?

1023


How to test values returned by a subquery with the in operator?

1253