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
What are the different ddl commands in sql?
What is difference between rank () row_number () and dense_rank () in sql?
Which version of sql do I have?
What are triggers and its types?
How do I make sql search faster?
How do I start sql from command line?
What are sql functions? Describe the different types of sql functions?
What is a dynamic query?
Explain the savepoint statement.
Write the alter statement to enable all the triggers on the t.students table.
How to call a javascript function from pl sql?
Which is faster subquery or join?
What is the difference between the implicit and explicit cursors?
What is an index in sql with example?
Why do we use triggers?