Question: Execute the following two SQLs. Which one is faster than the other to produce the output? Explain why one is faster than the other?
Execute the following two SQLs. Which one is faster than the other to produce the output? Explain why one is faster than the other? 1 EXPLAIN PLAN FOR SELECT S.sid, S. fname, S.age FROM student S WHERE S.sid = '009624'; SELECT * FROM TABLE (DBMS_XPLAN.display); 2 EXPLAIN PLAN FOR SELECT S.sid, S. fname, S.age FROM student S WHERE S.fname = 'Roma'; SELECT FROM TABLE (DBMS_XPLAN.display);
Step by Step Solution
3.48 Rating (141 Votes )
There are 3 Steps involved in it
Based on the image youve provided youre asking about two SQL queries and want to compare their performance using the EXPLAIN PLAN feature of Oracle Da... View full answer
Get step-by-step solutions from verified subject matter experts
