what is the difference between group and having
give an example with query and sample output
Answer Posted / dinesh sharma
Group by is used To Group Result According To Group Name
Having Is Always Is Used With Group by Clause.
Having Contain Aggregate Function or Simple Sub Query .
as Show In Above Example
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Create and insert into temp table in sql server?
How to insert multiple rows with one insert statement in ms sql server?
How can you append an identity column to a temporary table?
How to make remote connection in database?
Explain the dbcc pintable command when would you use it?
What is sql service broker?
How to assign null values to variables or columns?
What is update_statistics command?
What is report snapshot in ssrs?
How to use old values to define new values in update statements in ms sql server?
Where to find ntwdblib.dll version 2000.80.194.0?
What objects does the fn_my_permissions function reports on? : sql server security
How do I find the port number for sql server?
Which data type columns are the best candidates for full-text indexing?
How to test values returned by a subquery with the in operator?