what is the correct way of selection statement
a. select/from/table_name/orderby/groupby/having
b. select/from/table_name/groupby/having/orderby

Answer Posted / anil kumar jaiswal

the sequence is like this :
select
from
table_name
where
group by
having
order by.

where ever writing a sql query the sequence should be in this order.
so the answer B is correct.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you sum a count in sql?

559


What are the set operators in sql?

551


Can we use loop in sql?

533


How many sql commands are there?

673


What is pl sql collection?

524






What is autocommit sql?

538


explain the difference between bool, tinyint and bit. : Sql dba

520


What are different functions in sql?

515


Can a varchar be a primary key?

535


What is set transaction?

580


how to create a test table in your mysql server? : Sql dba

494


What is record in pl sql?

592


Is not equal in sql?

565


What is sql dialect?

529


How long will it take to learn pl sql?

522