I have query like this.

select dept_id, max_mark from stude_dept where min_mark=
(select min(mini_mark) from stud_dept);

How can i optimize this query.
Can anyone help me with it

Answer Posted / sudhakar

hi
it gives mini_mark record of max_mark,dept_id

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the order of defining local variables and sub procedures/functions?

689


What spfile/init.ora file parameter exists to force the CBO to make the execution path of a given statement use an index, even if the index scan may appear to be calculated as more costly?

1616


How to pass a cursor variable to a procedure?

642


What is a cognitive schema?

605


HI, Please let me know the syllabus for Oracle OCA and OCP Certification

2038






What is a snapshot in oracle database?

657


What suggestions do you have to reduce the network traffic?

631


How to create an initialization parameter file?

622


How many file formats are supported to export data?

741


How to write a query with a right outer join in oracle?

702


What is raw datatype in oracle?

667


does the query needs a hint to access a materialized view?

1541


What is an oracle user account?

668


What is redo log?

711


Explain the characteristics of oracle dba?

730