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 / pawan378

in addition to the above correct answers ..

Having Clause allows to add conditions using functions

Ex: COUNT(*) > 2

at on the same phrase of the query. this will be basically
to avoid sub queries.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

While migrating Microsoft SQL Server 2008 database to SQL Azure, what can be done to ensure the database connectivity does not degrade?

109


What is the difference between inner join and equi join?

983


What is history table in sql server?

961


can a table be moved to different filegroup? : Sql server administration

962


What is difference between index seek vs. Index scan?

1147


How to loop through result set objects using mssql_fetch_array()?

1067


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

1112


What is the chart in report?

158


Are semicolons required at the end of sql statements in sql server 2005?

984


What's the information that can be stored inside a bit column?

994


How to display a past time in days, hours and minutes?

1010


Define union, union all, minus, intersect?

974


What are extended events in sql server?

946


If a table does not have a unique index, can a cursor be opened on it?

911


Tell me what are the advantages of using stored procedures?

1000