what is Difference between Having and Where clause?
Answers were Sorted based on User's Feedback
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 |
Answer / ganesh
where clause check a condition & having clause is use in
group by clause
Is This Answer Correct ? | 12 Yes | 2 No |
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 |
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 |
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 |
What is the process of copying data from table a to table b?
What is an exception in PL/SQL? What are the two types of exceptions?
query to retrive the employees whose sal is greater than avg sal
What is rtm stands for?
How delete all records from table in sql?
Who developed sql?
what are the advantages of using stored procedures? : Sql dba
What are instead of triggers?
What is a sql trace file?
How many types of literals are available in pl sql?
What is rollback?
What are the types of index in sql?