adspace
what is the difference between the query and corelated
query
Answer Posted / manish
select * from emp; --->> query
select * from emp where sal=(select max(sal) from emp);
--> here a sub query is also there
select * from emp outer where sal= ( select avg(sal) from
emp e where dept.e=dept.outer) --> corelated query
| Is This Answer Correct ? | 9 Yes | 7 No |
Post New Answer View All Answers
Does group by remove duplicates?
how many tables will create when we create table, what are they? : Sql dba
What is the current version of sql?
what is schema? : Sql dba
what is sql server agent? : Sql dba
what is dbms? : Sql dba
If a cursor is open, how can we find in a pl/sql block?
how to start mysql server? : Sql dba
Is inner join faster than left join?
what are the advantages of sql ? : Sql dba
Is primary key always clustered index?
how to escape special characters in sql statements? : Sql dba
What is the current version of postgresql?
what are all the common sql function? : Sql dba
Can we use distinct and group by together?