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

Answer Posted / guest

Having Clause is basically used only with the GROUP BY
function in a query. WHERE Clause is applied to each row
before they are part of the GROUP BY function in a query.

Is This Answer Correct ?    68 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the differences between “row_number()”, “rank()” and “dense_rank()”?

614


What is simple indexing method?

666


What is BCP? When does it used in sql server 2012?

653


Explain how would you store your query in an SSRS report or a Database server?

94


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

662






Name few of the dcl commands in sql?

638


What is the difference between varchar and varchar types?

646


How would we use distinct statement? What is its use?

688


What are the different types of columns types constraints in the sql server?

604


What are the 7 disadvantages to a manual system?

593


How to delete duplicate rows in sql server?

663


What is the recursive stored procedure in sql server?

607


Explain ranking functions?

707


We are updating a field in sql and alter the row also.after giving the commit command the system is crashed.what will happen to the commands given,whether it will update and alter the table or not?

993


How to count groups returned with the group by clause in ms sql server?

647