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

Which is better statement or preparedstatement?

982


You schedule a job to run every minute what will happen if the first job runs more than 1 min? Will the second instance of the job start?

1087


What is save transaction and save point?

1254


How to rename an existing column with sql server management studio?

1044


Data table as parameter in sql server?

1102


What are the different types of join?

1237


How do you maintain database integrity where deletions from one table will automatically cause deletions in another table?

1242


How to backup encryption key ?

191


How raid can influence database performance?

1084


Explain transaction isolation levels in sql server?

1181


What is the difference between drop table and truncate table?

972


Mention the 3 ways to get a count of the number of records in a table.

1025


Is oracle faster than sql server?

1002


What is the difference between char, varchar and nvarchar?

1074


can you implement data mining in SSRS?

157