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

Explain sql data types?

615


Can a table contain multiple primary key’s?

614


what is union? : Sql dba

573


How do I run a sql query in pgadmin 4?

534


Describe different types of general function used in sql?

525






how to convert character strings to dates? : Sql dba

514


What are operators available in sql?

575


What mean sql?

576


What is meant by user defined function?

575


what is a stored procedure? : Sql dba

543


How do I count duplicates in sql?

539


what are the 'mysql' command line options? : Sql dba

547


What is the difference between left and left outer join?

507


What is dialect in sql?

520


Can we use loop in sql?

527