what is the difference between inline query and corelated
subquery
Answer Posted / sudipta santra
Inline 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.
| Is This Answer Correct ? | 2 Yes | 10 No |
Post New Answer View All Answers
What is ims software environment?
Explain database partitioning and its importance.
What is the role of tables in database?
What entity means?
What is 2nf in dbms?
Why do not you use gnu autoconf or scons for building?
Can you have more than one cursor open at any one time in a program ?
Give the cobol definition of a varchar field 177 when can an insert of a new primary key value threaten referential integrity?
Mention some advantages of using dbms.
What is natural key?
What do you understand by index hunting?
What are the advantages of database?
What is type of end users?
What are the benefits of modeling?
What are different types of transaction isolation levels?