what is the difference between group and having
give an example with query and sample output

Answer Posted / pawan378

in addition to the above correct answers ..

Having Clause allows to add conditions using functions

Ex: COUNT(*) > 2

at on the same phrase of the query. this will be basically
to avoid sub queries.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

tell me the disaster recovery plan

2110


What is 1nf 2nf and 3nf?

576


What is row_number () and partition by in sql server?

620


How can you stop stored procedures from recompiling?

564


How extra digits are handled with numeric data type literals?

602






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

649


How do I find query history in sql server?

583


What are the general features of sql server management studio? : sql server management studio

670


what is the difference between them (ethernet networks and token ring networks)? : Sql server database administration

584


What are the functions in sql server?

616


How to enable tcp/ip protocol on a sql server?

674


What is a filestream?

646


What are advantages of ssrs or why we should use ssrs?

108


What are exact numeric data types in ms sql server?

593


What is data file in computer?

635