what is Difference between Having and Where clause?

Answers were Sorted based on User's Feedback



what is Difference between Having and Where clause?..

Answer / chandrakala

Having clause is used for filtering grouped data and where
clause is used for filtering rows.

Is This Answer Correct ?    33 Yes 0 No

what is Difference between Having and Where clause?..

Answer / ganesh

where clause check a condition & having clause is use in
group by clause

Is This Answer Correct ?    12 Yes 2 No

what is Difference between Having and Where clause?..

Answer / nrapendra

where clause filter the data before gruop by clause and
having clause clause filter the data after group by clause

Is This Answer Correct ?    9 Yes 0 No

what is Difference between Having and Where clause?..

Answer / joe

When we used group by that time only we can use having. But without group by we can use having.
Only grouped column have used in having condition

Is This Answer Correct ?    0 Yes 1 No

what is Difference between Having and Where clause?..

Answer / tanmoy

We can use arithmetic operator in having clause but it is
not possible for where clause..

Is This Answer Correct ?    0 Yes 5 No

Post New Answer

More SQL PLSQL Interview Questions

What is the process of copying data from table a to table b?

0 Answers  


What is an exception in PL/SQL? What are the two types of exceptions?

0 Answers  


query to retrive the employees whose sal is greater than avg sal

10 Answers   TCS,


What is rtm stands for?

0 Answers  


How delete all records from table in sql?

0 Answers  






Who developed sql?

0 Answers  


what are the advantages of using stored procedures? : Sql dba

0 Answers  


What are instead of triggers?

0 Answers  


What is a sql trace file?

0 Answers  


How many types of literals are available in pl sql?

0 Answers  


What is rollback?

0 Answers  


What are the types of index in sql?

0 Answers  


Categories