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
Explain about cursors?
How can I create database in excel?
What is the meaning of flat file database?
What exactly is a database?
i have table as source table and flat file as target i need yo perform some logic in loading the data. is it posible? and one more thing the no of fields in source is 200+ and for target is 30+ how i can map them.........
What is data sublanguage?
What does rdbms stand for?
Discuss transparent DBMS?
What is a sequence in a database?
What is the normal procedure followed by a java client to access the db?
Compare a hierarchical and network database model?
What is the difference between case version and decode version?
What are the various types of relationships in database? Define them.
what do u mean by implementation?
Explain about the properties of cursors?