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

Answer Posted / aravind

where is used when no group by functions are used whereas
having is used when group functions are used

Is This Answer Correct ?    3 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define outer join?

625


What do you know about normalization and de- normalization?

543


What are various limitations of the views?

704


What are the restrictions that views have to follow? : SQL Server Architecture

617


Tell me the use of keyword with encryption. Create a store procedure with encryption?

654






Would you store your query in a ssrs report or a database server? State the reason why?

118


I have triggers,views,functions,stored Procedures for a table. When I am dropping that table which objects are deleted?

684


What is user defined stored procedures?

646


Explain the concept of recursive stored procedure.

577


What do you understand by replication in sql server?

674


explain declarative management framework (dmf) in sql server 2008?

685


How to restore performance issues and how to check?

1611


What are unicode character string data types in ms sql server?

693


Is there any performance difference between if exists (select null from table) and if exists (select 1 from table)?

618


What is not null constraint?

716