what is difference between having and where clause ?

Answers were Sorted based on User's Feedback



what is difference between having and where clause ?..

Answer / raju

Having clause is applied only to the group by function
where as where clause is applued to each and every row in a
table

Is This Answer Correct ?    7 Yes 0 No

what is difference between having and where clause ?..

Answer / dhiman

Where clause is used to check for the condition- select rows
& restrict rows and where comes before having clause whereas
Having is clause that is created to utilize all the group
functions (sum,avg,min,max,count) and is used for select or
restrict a particular group.

Is This Answer Correct ?    1 Yes 0 No

what is difference between having and where clause ?..

Answer / anil sharma

Having clause ia used only with group by, and where used with any input type

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More SQL Server Interview Questions

Explain the benefits of user-defined functions?

0 Answers  


What is nonclustered index on computed columns?

0 Answers  


How to send email from database?

0 Answers  


What is subquery? Explain the properties of a subquery?

0 Answers  


What is log shipping?

0 Answers  






How to provide values to stored procedure parameters in ms sql server?

0 Answers  


 Explain what is sql override for a source taLle in a mapping?

0 Answers   Informatica,


How to get the definition of a user defined function back?

0 Answers  


How should i optimize the time for execution of stored procedure having single input and many output from the different tables?

0 Answers  


How do I start and stop sql server?

0 Answers  


What will happen if a column containing char type data is changed to the nchar data type?

0 Answers  


What are system databases into sql server (2005/2008)?

0 Answers  


Categories