Can Having clause be used without Group by clause?

Answer Posted / pradip jain

select max(empno) from dbo.Employee having count(EmpNo)=9

it has no meaning so it will show zero record

Is This Answer Correct ?    17 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the different types of SSRS reports?

122


Differentiate between SQL and ORACLE joins and write their syntax.

775


How to create database with physical files specified in ms sql server?

722


System variable and temporary variables

1900


Why should you use or avoid select * statements?

734






What do you understand by the denormalisation?

711


What are the different types of triggers in SQL SERVER?

720


How to generate create table script on an existing table in ms sql server?

843


What is ms sql server triggers?

705


If you lose rights to your sql server instance what are the options to connect to sql server instance? : sql server security

713


What is the difference between ddl,dml and dcl commands?

810


What is the maximum number of instances in 32 bit and 64 bit sql server 2012?

735


What are the database objects? : SQL Server Architecture

701


What is data modeling and Reterminal integrity?

1689


What is parameterized reports in ssrs ?

125