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

Explain the use of grant option in imp command.

578


What is a directory object?

591


Explain user account with reference to oracle.

533


How can I introduce multiple conditions in like operator?

553


How to get a create statement for an existing table?

572






What is redo log?

622


How to work with data objects interactively?

555


How to convert characters to dates in oracle?

559


What are a collation and state the different types of collation sensitivity?

549


How to use fetch statement in a loop?

553


Difference between open_form and call_form in oracle.

678


How to create a new table in your schema?

605


What is a trigger and what are its types in oracle?

534


Can a formula column referred to columns in higher group ?

2087


How do I limit the number of rows returned by an oracle query after ordering?

631