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

Answer Posted / swati mandve

where clause is executed (for each row) first and
written before the group by statement..
having clause is strictly folllowed by groupby clause.to
filter the group.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the need for indexing?

502


How to perform key word search in tables?

536


what information is maintained within the msdb database? : Sql server administration

512


What are parameterized reports?

160


What is the data tier application?

145






How to integrate the ssrs reports in application?

545


How to recompile stored procedure at run time?

571


What is the use of builtinadministrators group in sql server? : sql server security

538


What is the difference between set and select?

583


What are the requirements on sql server network connections?

526


What are the restraints imposed on the table design by a merge replication?

570


Does group by or order by come first?

546


What do you understand by a view?

559


How to retrieve error messages using mssql_get_last_message()?

539


How to generate create procedure script on an existing stored procedure?

515