what is the order of execution of where,having,group by in
select stement
Answer Posted / bhagyashri jain
First of all,
when Group by and having clauses are there , the Where
clause can't present there, so order of group by, having is
respectively
Group by
Having
| Is This Answer Correct ? | 6 Yes | 20 No |
Post New Answer View All Answers
Which are the olap features?
How you would rewrite the sql query to return the customerid sorted numerically?
What are “lost updates”?
How to use old values to define new values in update statements in ms sql server?
Define master database?
Explain syntax for viewing, dropping and disabling triggers?
Explain what is meant by replication of database?
What is 'Join' and explain its various types.
What specific conditions database should meet, before you can bulk copy data into it using bcp?
but what if you have to create a database with two filegroups, one on drive c and the other on drive d with log on drive e with an initial size of 600 mb and with a growth factor of 15%? : Sql server database administration
Explain in brief how sql server enhances scalability of the database system?
What options are there to delete rows on the publisher and not on the subscriber? : sql server replication
Explain something about security and SQL Azure?
Give the query of getting last two records from the table in SQL SERVER?
Explain nested trigger in sql?