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 is nonclustered index on computed columns?
Can we deploy SSRS reports on our personal website?
What is the difference between set and select?
explain the difference between oracle- sql and sql server sql ? if both are same y we r using 2 sw.s?
What are the different types of indexes?
What is the user of Primary key?
What is index fragmentation in ms sql server?
What is a user-defined function in the sql server and what is its advantage?
Explain iaas, paas and saas?
Explain the difference between delete,drop and truncate in SQL Server?
What is ms sql server index?
What is the difference between local and global temporary tables?
What causes index fragmentation?
What are the grouping functions?
What are the different types of backups that exist?