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 default value database?
What is sonicmq?
How to create student table through query with a numeric column of ID and Name of Chaeacter and D-O-B with date type in database What will be the query for this purpose?
What is father dbms?
What is file manager?
What is dbms architecture?
What are types of dbms?
Are databases stored on servers?
What is database management system explain?
What is ims software environment?
Which two statements are true about a foreign key?
what is storage manager?
What are different type of normalization?
What is the role of database server in database management system?
What are the importance of partitioning in dbms?