Can Having clause be used without Group by clause?
Answer Posted / phani
we can use, but select columns and having columns should
use with aggregare functions
ex:
select max(empid), min(marks)
from employee
having max(empid_id)>100
Is This Answer Correct ? | 72 Yes | 16 No |
Post New Answer View All Answers
Which language is supported by sql server?
List out the difference between union and union all in sql server?
How to make conditional sum in ssrs?
How to use values from other tables in update statements in ms sql server?
What are indexes in sql?
What are different type of Collation Sensitivity?
what is the different types of backups available in sql server? : Sql server database administration
How do I find sql server instance name?
Can a stored procedure call itself or recursive stored procedure? How much level sp nesting is possible?
What is normalization of database? What are its benefits?
What is temporal data type?
what is the difference between a primary key and a unique key? : Sql server database administration
You are designing a database for your human resources department in the employee table, there is a field for social security number, which cannot contain null values if no value is given, you want a value of unknown to be inserted in this field what is the best approach?
What new data source types were added in ssrs 2014?
What is a non equi join?