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 3 types of databases?
What is raid controller technology?
What is rdbms and its features?
What is Dedicated server configuration ?
What is cold backup and hot backup (in case of oracle)?
select Nth highest salary by using rownum
4 Answers Ford, TCS, Tech Mahindra,
Write a query to remove duplicate rows from a table?
Explain what are the types of transparencies?
What are different types of joins in the sql?
What are partitions in database?
what is the use of SYSTEM.EFFECTIVE.DATE varaible ?
What is database example?
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)