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

Answer Posted / anant chavda

Þ The WHERE clause excludes rows that do not meet its
search conditions

Þ The GROUP BY clause collects rows that met the WHERE
clause search conditions and places those rows into a group
for each unique value in the GROUP BY clause. Omitting the
GROUP BY clause creates a single group for the whole table.

Þ The HAVING clause excludes groups that do not meet
its conditions. For example: When a query includes a GROUP
BY clause, the HAVING clause excludes groups from the
results. A SELECT statement containing a HAVING clause
without a GROUP BY clause will process the result as one
whole set. Aggregate functions specified in the select_list
calculate summary values for each surviving group.

Is This Answer Correct ?    5 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I connect to oracle database?

1134


How to specify default values in insert statement using oracle?

1116


1) Does oracle have any table which contain all the exceptions and it's code internally?

1761


What are the roles of dba?

1076


Why does Oracle not permit the use of PCTUSED with indexes?

2429


How to retrieve data from an cursor to a record?

1114


How to define an anonymous procedure without variables?

1115


How to drop a tablespace?

1058


What do you understand by a database object? Can you list a few of them?

1027


How to find the duplicate rows count from employees table in oracle?

1105


What is a nvl function? How can it be used?

1047


How to run the anonymous block again?

1144


In not less than 100 words what's the main difference between Rolap and Molap in ORACLE ?

2295


Is it possible to insert comments into sql statements return in the data model editor ?

2575


How do I reset a sequence in oracle?

1110