What is the difference between having and where clause?
Answer Posted / thirumal reddy
where clause used to impose conditions in any dml operation
ex:
selct * from emp where empid=10
having clause used to impose conditions on group data
ex:
select sum(sal),avg(sal),count(*) from emp
having avg(sal)>2000
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
Explain the use of containers in ssis?
What options are there to delete rows on the publisher and not on the subscriber? : sql server replication
How to set database to be read_only in ms sql server?
If any stored procedure is encrypted, then can we see its definition in activity monitor?
What is an execution plan? How would you view the execution plan?
In what version of sql server were synonyms released?
What is merge join?
What is the difference between a local and a global temporary table?
What is the difference between composite index and covering index?
Do you think BCNF is better than 2NF & 3NF? Why?
How would you go about developing a ssrs report?
What is the difference between indexing and hashing?
Where do you find the default Index fill factor and how to change it?
Explain the properties of subqueries in sql server?
What is the meaning of resultset type_scroll_insensitive?