What is the difference between a HAVING CLAUSE and a WHERE
CLAUSE?

Answer Posted / sudheer gowlikar

Having clause Specifies a search condition for a group or
an aggregate. HAVING can be used only with the SELECT
statement. HAVING is typically used in a GROUP BY clause.
When GROUP BY is not used, HAVING behaves like a WHERE
clause.

Is This Answer Correct ?    2 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are points to remember while using the fillfactor argument?

532


Can you please explain the difference between primary keys and foreign keys?

660


What are the joins in sql server? : sql server database administration

538


What is the ‘fillfactor’?

568


What is create statement?

531






What is user-defined multi-statement table-valued function?

659


List the various tools available for performance tuning?

488


What are some of the pros and cons of not dropping the sql server builtinadministrators group? : sql server security

550


What are the instances when triggers are appropriate?

525


In how many ways you can invoke ssrs reports?

103


What are the advantages of user defined function?

494


What are ddl triggers and types of ddl trigger?

610


Explain concepts of analysis services?

515


What is the difference between substr and charindex in the sql server?

512


Do you think BCNF is better than 2NF & 3NF? Why?

797