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

How does Oracle guarantee data integrity of data changes?

1936


how do u setup a replication site?

1501


How to enter a new row into a table interactively?

550


what is partitioning? Types of partitioning. explain? what is the new kind of partitioning type introduced in 9i?

1848


What is memory advisor in Oracle?

636






Explain the difference between sap and oracle?

575


What is the disadvantage of User defind function?

1833


What do database buffers contain?

565


What is the quickest way to export a table to a flat file?

572


while i take backup using ibm tsm the following errors occurred: rman-03009 ora-19513 ora-27206 ora-19502 ora-27030 ora-ora19511

3871


What is a sub query and what are the different types of subqueries?

626


What is the sid in oracle?

537


What are the various oracle database objects?

681


How to delete an existing row from a table in oracle?

644


How to sort the query output in oracle?

612