What is the difference between Where and Having Clause

Answer Posted / s

WHERE filters the rows based on the predicate.
HAVING filters a group of rows based on the GROUP BY colums.

Is This Answer Correct ?    48 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can all users have the privilage to use the sql statement select * (dml)?

853


How to compare data between two tables in db2?

845


How do I change the column size in db2?

851


Why do we need reorg in db2?

738


Is db2 a mainframe?

788


What is db2 plan table?

814


What is declare cursor?

824


What is difference between rollback and commit?

876


What is the physical storage length of timestamp data type?

856


Explain what are the various isolation levels possible?

798


What does a deadlock mean in DB2?

849


How to create db2 table in mainframe?

854


How do you pull up a query which was previously saved in qmf?

898


Define db2.

862


What are packages in db2?

788