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
Answers were Sorted based on User's Feedback
Answer / amrita basu
here the table name is stud_dept. now the query within
bracket fetches the minimum of minimum marks i.e min_mark
from stud_dept. now the total query gives the result such
as to fetch the dept_id and max_mark of the corresponding
min_mark. if u have any kind of prob regarding this ans.
plz send me mail amritabasu.mca09@gmail.com
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / sudhakar
hi
it gives mini_mark record of max_mark,dept_id
Is This Answer Correct ? | 0 Yes | 0 No |
18. Display the clientno and total value for all orders placed by that client. Output the result in the following format: Client <clientno> has placed orders to the value of <total value>
How to invoke the original export import utilities?
Why use resource manager in Oracle?
What is define in oracle?
How a database is related to tablespaces?
what is the syntax of DROP command?
How to find out what oracle odbc drivers are installed?
How would you configure your networking files to connect to a database by the name of DSS which resides in domain icallinc.com?
How to shutdown your 10g xe server?
when i run my query on yesterday it is fast but today it is slow why?
Explain the blob datatype?
How to concatenate two text values in oracle?