What is the difference between having and where clause?

Answer Posted / sd

Where clause operates on the selection before the rows are
actually grouped.

Hence , Try to add as many condition as possible in where
clause instead of having to boost the SQL query performance.

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you make a trace?

753


What does the automatic recovery do?

788


How to replace the Query Result 'Null Value' with a text ?

764


What are a scheduled jobs or what is a scheduled tasks?

653


How to delete an existing row with delete statements in ms sql server?

771






Can we install sql server 2016 on windows 7?

865


What are the extra roles available in msdb? : sql server security

848


How to call stored procedure using http soap?

705


What is the temp table?

701


If a stored procedure is taking a table data type, how it looks?

6093


What do you mean by table and field in sql?

741


Explain security with sql azure?

171


Define model database?

741


Explain the difference between cross join and full outer join?

674


What is snapshot parameter in ssrs?

124