what is difference between having and where clause ?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
List the various tools available for performance tuning?
What is the significance of master, tempdb and model databases?
What is a file group?
What are the different authentication modes in sql server?
is there a column to which a default can't be bound? : Sql server database administration
Explain primary key?
ow to bring suspect mode datbase online from scratch
Explain the steps to create and execute a user-defined function in the sql server?
You are designing a database for your human resources department in the employee table, there is a field for social security number, which cannot contain null values if no value is given, you want a value of unknown to be inserted in this field what is the best approach?
What is sql server 2000 work load governor?
How many triggers you can have on a table?
How can I create a table from another table without copying any values from the old table?