adspace


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

Answer Posted / sudheer gowlikar

Having clause Specifies a search condition for a group or
an aggregate. 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.

Is This Answer Correct ?    2 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different types of subquery?

1240


what is the difference between openrowset and openquery?

1208


Can you index views?

958


If you're given a raw data table, how would perform etl (extract, transform, load) with sql to obtain the data in a desired format?

1052


How do I find the sql server version?

1114


Can we do dml on views?

1042


Equi join and non equi join is possible with sql server?

1140


How can you append an identity column to a temporary table?

1078


Explain system functions or built-in functions? What are different types of system functions?

1071


How to enter binary string literals in ms sql server?

1256


What are the kinds of subquery?

1118


What are the properties of the transaction?

1084


Why and when do stored procedure recompile?

1077


What is the difference between for xml raw and for xml auto?

1125


what is the Ticketing tool used in Wipro technologies at Bangalore...???

8239