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

Explain what is it unwise to create wide clustered index keys?

554


What are the character string functions supported by sql server 2005?

532


What is a result set object returned by odbc_exec()?

554


Explain different types of lock modes in sql server 2000?

537


What do you mean by stored techniques? How would we use it?

596






Why do you want to join software field as you have done your BE in Electronics?

1715


how many bits ip address consist of? : Sql server database administration

474


What do you mean by cardinality?

505


What is the command used to check locks in microsoft sql server?

550


Distinguish between commit and rollback?

560


How do we Backup SQL Azure Data?

86


Why I can not enter 0.001 second in date and time literals in ms sql server?

546


Explain the steps to create and execute a user-defined function in the sql server?

540


Which command is used for user defined error messages?

573


What is table valued function and scalar valued functions?

497