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


Please Help Members By Posting Answers For Below Questions

Why do we use stored procedures in sql server?

494


Can we use pragma autonomous_transaction in trigger?

543


what is spatial nonclustered index

546


How to delete an existing row with delete statements in ms sql server?

552


What is 1nf 2nf?

553






List out a number of the wants to setup a SQL Server failover cluster?

583


Explain different types of locks in sql server.

598


How do I edit a stored procedure in sql server?

509


What is Cross Join and in which scenario do we use Cross Join?

572


Which are new data types introduced in sql server 2008?

605


What are the differences between ms sql server & oracle?

525


How to delete duplicate rows from table except one?

545


What are the types of sql server?

521


What is the use of RDBMS?

591


What are relationships and mention different types of relationships in the dbms

557