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

How do I create an index in word?

734


Why cross join is used?

825


What is the difference between null value, zero, and blank space?

768


What are % type and % rowtype?

778


what is the difference between char_length and length? : Sql dba

788






What is a system versioned table?

702


What is compiled query?

744


How can we solve sql error: ora-00904: invalid identifier?

885


difference between anonymous blocks and sub-programs.

818


How do you write an index?

703


What is not in sql?

667


What is Difference Between Unique and Primary Key Constraints?

827


How to make a copy values from one column to another in sql?

769


how can I make a script that can be bi-language (supports english, german)? : Sql dba

730


what is a composite primary key ? : Sql dba

782