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 / kavitha nedigunta

b. select/from/table_name/groupby/having/orderby

EG: select deptno,max(sal)
from emp
group by deptno
having max(sal)> 5000
order by deptno

Is This Answer Correct ?    69 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the working of primary key?

609


Is primary key is clustered index?

529


What is input buffer in sql*plus?

640


what is the difference between undefined value and null value? : Sql dba

562


How is data stored on a disk?

541






What are the possible values that can be stored in a boolean data field?

517


What is pivot query?

594


What is primary key and unique key?

547


What is trigger point?

536


How do you declare a user-defined exception?

530


What are the different types of tables in sql?

485


What is normalisation and its types?

550


What are the different ways to optimize a sql query?

486


What is cursor and why it is required?

555


What are pl/sql packages?

569