What is the difference between correlated sub queries and
inner queries?

Answer Posted / shafi

Correlated Sub Query:
It is a sub-query (a query nested inside another query)
that uses values from the outer query in its WHERE clause.
The sub-query is evaluated once for each row processed by
the outer query

Inner query:
It is a query that is nested inside a SELECT, INSERT,
UPDATE, or DELETE statement or inside another subquery. A
subquery can return a set of rows or just one row to its
parent query. A scalar subquery is a query that returns
exactly one value: a single row, with a single column.

Is This Answer Correct ?    11 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why are oltp database designs not generally a good idea for a data warehouse?

702


Explain the teradata primary index mechanics in detail with a diagram.

656


What is the difference between fastload and multiload? Which one is faster?

733


What is spool space?

706


What are the newly developed features of Teradata?

664






How is MLOAD Client System restarted after execution?

691


What is meant by a node?

701


Explain BYNET.

688


If the PMON is not working then how do you manage and monitor all processes, resources and sessions etc.

1752


What are differences between teradata and ansi session modes in teradata?

726


What is meant by Teradata Gateway?

666


What is teradata? What are some primary characteristics of teradata?

630


Explain the term 'columns' related to relational database management system?

648


what are the uses of fact table and dimension table in banking project?

4201


Highlight a few of the advantages that ETL tools have over Teradata.

727