what is the difference between inline query and corelated
subquery
Answer / 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 |
What are the benefits of modeling?
What is sql in dbms?
Segregate database technology's development.
Explain the terms database and dbms?
What are the main components of a database?
Why c++ used in clipper?
What are stand-alone procedures?
Why is foreign key used?
Explain about cursors?
What is optimization in database?
What is information schema in database?
What is write ahead logging in DBMS?