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 having and where clause?

Answer Posted / thirumal reddy

where clause used to impose conditions in any dml operation
ex:
selct * from emp where empid=10
having clause used to impose conditions on group data
ex:

select sum(sal),avg(sal),count(*) from emp
having avg(sal)>2000

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which are new data types introduced in sql server 2008?

1049


What are the properties of sub-query?

1072


Explain about builtinadministrator?

1051


Explain what is meant by replication of database?

1029


What is use of dbcc commands?

1069


How many database files are there in sql server 2000?what are they?

1051


What is sql server used for?

1045


Explain how dts is used to extract, transform and consolidate data?

996


What is table join?

1113


What are indexes in ms sql server?

1057


Which is faster statement or preparedstatement?

933


How is sql used in sql server?

1005


What is the difference between delete and truncate statements?

1077


What are the different types of join?

1169


What are various aggregate functions that are available?

978