what is the difference between inline query and corelated
subquery



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

Post New Answer

More Database Management Interview Questions

What are the benefits of modeling?

0 Answers  


What is sql in dbms?

0 Answers  


Segregate database technology's development.

0 Answers  


Explain the terms database and dbms?

0 Answers  


What are the main components of a database?

1 Answers  






Why c++ used in clipper?

0 Answers  


What are stand-alone procedures?

0 Answers  


Why is foreign key used?

0 Answers  


Explain about cursors?

0 Answers  


What is optimization in database?

0 Answers  


What is information schema in database?

0 Answers  


What is write ahead logging in DBMS?

0 Answers   HAL,


Categories