what is the difference between the query and corelated
query

Answer Posted / aravinda

query: query is single time validation of conditions for
entire result once result is fetched there no further
validation of records.

corelated sub query : each record is validated with inner
query aftr fetch.

1) outer query will execute first and pass a value to inner
query.
2) based on outer query value inner query will execute.
3) based on inner query value the outer query record will be
validated.

inner query will execute for every record of outer query( if
outer query has 10 records inner query will execute 10 times)

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is keyword pl sql?

562


What is the difference between the conventional and direct path loads? : aql loader

696


Is t sql a programming language?

539


What is sql*plus?

575


What is where clause in sql?

537






How long it takes to learn pl sql?

533


What is the use of non clustered index?

530


Define union, minus, union all, intersect ?

556


Can you rollback after commit?

532


What does seeding a database mean?

531


What can you do with pl sql?

569


Enlist some predefined exceptions?

586


Why do we use function in pl sql?

561


what are the advantages of using stored procedures? : Sql dba

622


How many types of index are there?

553