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
What does the on update no action do?
Does server sql treat char as a variable-length or fixed-length column?
How raid can influence database performance?
Define compound operators?
What is set nocount on?
What is tempdb in sql server?
How do I open port 1433?
What is BCP? When does it used in sql server 2012?
What are the different types of backups that exist?
Do you know what is openxml in sql server?
What is Service Broker in sql server 2012?
How to restore performance issues and how to check?
Can we call future method from queueable?
What are the restrictions while creating batches in sql server?
How to insert stored procedure result into temporary table?