What is the difference between HAVING clause and the WHERE
clause?

Answer Posted / srinivas

As per my knowledge WHERE is for conditional retrieving but
we cann't use Average Functions in WHERE clause.
HAVING clause can include AVG Functions.

Is This Answer Correct ?    20 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a sql query to sort on different column name according to the parameters passed in the function?

540


Write a query to include a constraint, to check whether the employee salary is greater than 5000?

1127


How to see existing views in ms sql server?

552


what is raid? : Sql server database administration

559


What is default port number for sql server 2000?

604






Write a sql query to display the current date?

640


Define Business Edition in SQL Azure?

88


What is normalization? Explain different forms of normalization?

546


What happens if null values are involved in comparison operations?

551


Explain what are sparse columns?

572


How to create a user to access a database in ms sql server using "create user" statements?

530


What are the advantages of using cte?

559


What are user-defined functions (udfs) in sql server?

576


What is the difference between for xml raw and for xml auto?

575


Where is trigger in sql server?

547