Difference between sub query and nested query ?

Answer Posted / mohanty

query inside the query is nested query.
it is also called as sub query.
Correlated subquery runs once for each row selected by the
outer query. It contains a reference to a value from the
row selected by the outer query.

Nested subquery runs only once for the entire nesting
(outer) query. It does not contain any reference to the
outer query row.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a oracle database?

787


Explain integrity constraint?

851


What is integrity and what is constraint??Explain with example

1936


Explain what does a control file contain?

772


What is partitioned table in Oracle?

820






In what script is snap$ created? In what script is the scott/tiger schema created?

2445


What is Redo Log Buffer in Oracle?

809


What is a connect identifier?

734


How to synchronize 2 schema's objects?

1870


Give the advantages and disadvantages of clusters.

751


Database crashes. Corruption is found scattered among the file system neither of your doing nor of Oracles. What database recovery options are available? Database is in archive log mode.

1735


Please explain joins in oracle?

765


Can a formula column referred to columns in higher group ?

2244


How to create a stored procedure in oracle?

774


Explain how you would restore a database using RMAN to Point in Time?

1856