diff b/w sub query and co-relater query?

Answers were Sorted based on User's Feedback



diff b/w sub query and co-relater query?..

Answer / guru

Sub query means A query within another query. the Sub query
executed first and returns result, which is used by Main Query.

Correlated Sub query:

The sub query has a Reference with a value or values of Main
Query, Which is Called as COrrelated Sub Query.

Thanks

Guru

Is This Answer Correct ?    8 Yes 1 No

diff b/w sub query and co-relater query?..

Answer / ganesh

sub query is select statement which is lying in clause of
another sql stament


corelated subquery:

it is row-by-row processing, in which outer sub query is
processing for every inner query result

Is This Answer Correct ?    5 Yes 0 No

diff b/w sub query and co-relater query?..

Answer / suresh somayajula

Sub Query : In this Inner query will execute first. Based
on that result outer query will execute.

Correlated Sub Query : Query which has reference to the
main query , means outer query will execute first based o
that result inner query will execute.

Thank you,
Suresh.

Is This Answer Correct ?    6 Yes 1 No

Post New Answer

More SQL PLSQL Interview Questions

Do we need to rebuild index after truncate?

0 Answers  


Explian rowid, rownum? What are the psoducolumns we have?

0 Answers  


what is the difernece between named and anonymous pl/sql blocks??

8 Answers   TCS, Wells Fargo,


What are sql constraints?

0 Answers  


Which tcp/ip port does sql server run on? How can it be changed? : Sql dba

0 Answers  






What is the maximum number of triggers, you can apply on a single table?

0 Answers  


Why do we use joins?

0 Answers  


How can we schedule the procedure to run automatically ?

3 Answers  


what is the cursor and use of cursor in pl/sql ?

4 Answers  


What is cost in sql execution plan?

0 Answers  


define sql

3 Answers   Zensar,


How can analyze query after generating explain plan ?

2 Answers   Thermotech,


Categories