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

Explain the dbcc pintable command when would you use it?

926


Difference Between ORDER BY Clause and GROUP BY Clause in SQL?

1066


What is sql server query analyzer?

1036


What is the sql case statement used for? Explain with an example?

999


What is sql server replication? : sql server replication

996


What is the maximum row of a size?

1021


What is shrink log file?

901


What is triggers and stored procedures?

948


optimization techinques

2681


Explain the use of containers in ssis and also their types?

970


What are null values in ms sql server?

1095


What is the server name for sql management studio?

1030


Stored Procedure returns data from multiple tables. How to access it in your ASP.Net code?

1065


Should you normalize audio?

946


What is the difference between a view and a stored procedure?

1040