Getting Started with Adobe After Effects - Part 6: Motion Blur
This module helps you to share, discuss and learn interview questions and answers of different technologies

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

Jun 20 2012 12:00AM by Nirav Gandhi   

Question

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

Answer

They specify a search condition for a group or an aggregate. But the difference is that HAVING can be used only with the SELECT statement. HAVING is typically used in a GROUP BY clause. When GROUP BY is not used, HAVING behaves like a WHERE clause. Having Clause is basically used only with the GROUP BY function in a query whereas WHERE Clause is applied to each row before they are part of the GROUP BY function in a query.

Read More..   [32134 clicks]

Published under: SQL Server Interview Questions ·  ·  ·  · 


Nirav Gandhi
38 · 5% · 1517
1
 
0
Asked



Submit

Your Comment


Sign Up or Login to post a comment.

"What is the difference between a HAVING CLAUSE and a WHERE CLAUSE?" rated 5 out of 5 by 3 readers
What is the difference between a HAVING CLAUSE and a WHERE CLAUSE? , 5.0 out of 5 based on 3 ratings
    Copyright © Rivera Informatic Private Ltd Contact us      Privacy Policy      Terms of use      Report Abuse      Advertising      [ZULU1097]