Can Having clause be used without Group by clause?

Answer Posted / sumathy

HAVING Clause
Specifies a search condition for a group or an aggregate.
HAVING is usually used with the GROUP BY clause. When GROUP
BY is not used, HAVING behaves like a WHERE clause.

Reference:
http://msdn.microsoft.com/en-us/library/aa259187
(SQL.80).aspx

Is This Answer Correct ?    30 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how we use window authentication connection with sql server.?

634


How to rebuild all indexes on a single table?

600


What is 5nf in normalization form?

578


what are isolation levels? : Sql server database administration

501


Are there any preferred steps that need to be taken care of before starting the installation of sql server 2000?

582






If a table does not have a unique index, can a cursor be opened on it?

517


Tell me what is log shipping?

577


Explain full-text query in sql server?

545


Define right outer join?

551


What is proper subset of candidate key?

564


Comment,Datatypes are unlimited

1636


Define Business Edition in SQL Azure?

88


What are entities and relationships?

564


What do you understand by intent locks?

580


What is report snapshot?

101