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
What are differences in between sql server 2012 and sql server 2016?
What is the significance of master, tempdb and model databases?
What is the new security features added in sql server 2016? : sql server security
What are the new security features added in sql server 2012? : sql server security
What is merge replication?
What types of replication are supported in sql server?
what is memory-optimized nonclustered indexes
Can a cursor be updated? If yes, how you can protect which columns are updated?
Mention the differences between substr and charindex in sql server.
What is a mutating table error and how can you get around it?
What is the purpose of linked server configuration in sql server?
Difference between connected and disconnected database in .net with sql server?
Can we insert data into a view?
What is cursor in ms sql server?
What is use of @@ spid in sql server?