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

What is the usage of save points in oracle database?

964


How to best split csv strings in oracle 9i?

1043


How to define an external table with a text file?

1070


What is a nvl function?

1037


Explain overloading. Can functions be overloaded?

991


How to run create database statement again?

1160


How to apply filtering criteria at group level in oracle?

1045


What is a system tablespace and when it is created?

972


Can you tell me how to add new column in existing views?how?How is possible?

1449


Describe an oracle table?

1052


Why is oracle so popular?

999


How to upsert (update or insert into a table)?

1004


Explain the use of record option in exp command.

1006


Is postgres faster than oracle?

1046


How to rebuild an index in oracle?

1028