what is the order of execution of where,having,group by in
select stement

Answer Posted / shivaraj

Execution-1- WHERE
Execution-2- GROUP BY
Execution-3- HAVING

Is This Answer Correct ?    26 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different types of sub-queries?

594


What are triggers? How do you invoke a trigger on demand?

745


What are the dmvs?

558


Explain the truncate command?

518


How to resolve the orphan use problem? : sql server security

521






How do I start and stop sql server?

538


How to create user defined functions with parameters?

632


What are the different types of cursor?

601


How to rebuild the master database?

571


Mention the 3 ways to get a count of the number of records in a table.

548


Explain the concept of view and Types of views in SQL server?

615


What command is used to rename the database?

523


What types of Joins are possible with Sql Server?

537


How to include text values in sql statements?

580


Suppose i have a table that contains 5 columns like col1,col2...colm5.I want to import only two column through BCP utility.How to do same through BCP in sybase.

1957