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 |
Tell us about some Dot operator queries?
Explain the Normalized Relations?
What is oracle block? Can two oracle blocks have the same address?
Define truncate and delete commands?
Does google have a database like access?
What is system r?
How many database systems are there?
How to find the size of database?
What are different cursor types in dbms?
What are indexes? Mention the differences between the clustered and non-clustered index?
What is difference between sql and rdbms?
What is database management used for?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)