What is correlated sub-query?

Answer Posted / guest

select empno,ename from emp where deptno in(
select deptno from dept where dept.deptno=emp.deptno)

when inner subquery has an reference to outer query then
this is know as Correlated sub-query.

Is This Answer Correct ?    107 Yes 23 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we write dml inside a function in sql server?

493


What are the different ways to optimize a sql query?

483


What is rank function in sql?

524


What schema means?

517


How do sql triggers work?

546






Can I call a procedure inside a function?

543


what is cursor. write example of it. What are the attributes of cursor.

742


What is trigger and stored procedure in sql?

552


what is log shipping? : Sql dba

603


What is the difference between a database and a relational database?

558


Does varchar need length?

514


Is sql dba a good career? : SQL DBA

527


What are the two types of exceptions in pl/sql?

537


What is the purpose of my sql?

502


What is a constraint?

560