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
Which is better statement or preparedstatement?
You schedule a job to run every minute what will happen if the first job runs more than 1 min? Will the second instance of the job start?
What is save transaction and save point?
How to rename an existing column with sql server management studio?
Data table as parameter in sql server?
What are the different types of join?
How do you maintain database integrity where deletions from one table will automatically cause deletions in another table?
How to backup encryption key ?
How raid can influence database performance?
Explain transaction isolation levels in sql server?
What is the difference between drop table and truncate table?
Mention the 3 ways to get a count of the number of records in a table.
Is oracle faster than sql server?
What is the difference between char, varchar and nvarchar?
can you implement data mining in SSRS?