What is the difference between having and where clause?

Answer Posted / vinay singh

We can't use Where clause with aggregate function and Having
clause always use with aggregate function.

**Vinay Singh

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

code to create procedure for taking databse backup in sql server or i have the query for it but what it's query returns means i want to show on my jsp that the databse backup has been taken on the basis of that return value.does it returns 0 or 1.wat is the code for that

1968


How would you use user_constraints table in DB?

750


What is log cache in sql server?

712


how will add additional conditions in sql?

737


What happens if strings are casted into wrong code pages in ms sql server?

824






Is INSTEAD OF trigger directly applicable to Table ?

735


your sql server is running out of disk space. You notice that there are several large files with ldf extensions what are these files? : Sql server administration

740


What is the default sql server instance name?

752


What is the boxing and unboxing concept in .net?

708


What is bcp? When does it use?

671


How to use "begin ... End" statement structures in ms sql server?

681


What are the difference between clustered and a non-clustered index?

757


What is difference between clustered index and non clustered index?

796


How to Check if table exists in sql server?

787


What is user-defined scalar function?

722