What is the difference between inline query and corelated subquery?
Submitted by: AdministratorInline query :
select * from emp where empno=(select max(empno) from emp);
Co-Related sub query:
Select * from emp where dob> (select distinct dob where
deptno= 10);
Note: In the Inline subquery , The main query depends upon
the outcome value of the inline sub query which is in-lined
but in case of co-related sub query the main query and sub
query both run simultaneously then the check occurs.
Submitted by: Administrator
select * from emp where empno=(select max(empno) from emp);
Co-Related sub query:
Select * from emp where dob> (select distinct dob where
deptno= 10);
Note: In the Inline subquery , The main query depends upon
the outcome value of the inline sub query which is in-lined
but in case of co-related sub query the main query and sub
query both run simultaneously then the check occurs.
Submitted by: Administrator
Read Online Database Management Job Interview Questions And Answers
Top Database Management Questions
| ☺ | What is ORACLE CLINICAL? |
| ☺ | What is the difference between oracle CPU and PSU? |
| ☺ | Explain What are the uses of Oracle clinical? |
| ☺ | What is the difference between inline query and corelated subquery? |
| ☺ | How to store space between two strings in database i.e |
Top DB Oracle Categories
| ☺ | Oracle PL-SQL Interview Questions. |
| ☺ | Oracle DBA Interview Questions. |
| ☺ | Oracle D2K Interview Questions. |
| ☺ | OCI Interview Questions. |
| ☺ | Forms Reports Interview Questions. |
