Difference between sub query and nested query ?
Answer Posted / vrushali
Co-related sub query is one in which inner query is
evaluated only once and from that result outer query is
evaluated.
Nested query is one in which Inner query is evaluated for
multiple times for gatting one row of that outer query.
ex. Query used with IN() clause is Co-related query.
Query used with = operator is Nested query
| Is This Answer Correct ? | 8 Yes | 68 No |
Post New Answer View All Answers
src name sex a,male b,female c,male d,female Required output : male female a,b c,d tried pivot but was not successfull select * from src pivot (max(name) for sex in ('MALE','FEMALE'));
What is ceil and floor in oracle?
What are the uses of a database trigger?
What is data type in oracle?
How to define a sub function?
How to see free space of each tablespace?
How to use "startup" command to start default instance?
Does oracle charge for java?
How to export your own schema?
What is merge statement used for?
Describe the types of sub query?
How to start a new transaction in oracle?
What is the difference between a user and a schema in oracle?
State some uses of redo log files?
Can we write dml statement in function in oracle?