diff b/w sub query and co-relater query?
Answers were Sorted based on User's Feedback
Answer / guru
Sub query means A query within another query. the Sub query
executed first and returns result, which is used by Main Query.
Correlated Sub query:
The sub query has a Reference with a value or values of Main
Query, Which is Called as COrrelated Sub Query.
Thanks
Guru
| Is This Answer Correct ? | 8 Yes | 1 No |
Answer / ganesh
sub query is select statement which is lying in clause of
another sql stament
corelated subquery:
it is row-by-row processing, in which outer sub query is
processing for every inner query result
| Is This Answer Correct ? | 5 Yes | 0 No |
Sub Query : In this Inner query will execute first. Based
on that result outer query will execute.
Correlated Sub Query : Query which has reference to the
main query , means outer query will execute first based o
that result inner query will execute.
Thank you,
Suresh.
| Is This Answer Correct ? | 6 Yes | 1 No |
When are we going to use truncate and delete?
what are the types of join and explain each? : Sql dba
Why plvtab is considered as the easiest way to access the pl/sql table?
What are two parts of package ?
Can we commit inside a trigger?
Name Salary Abc 50000 Abc 50000 xyz 20000 find the max salary using aggregate function?
What are the key differences between SQL and PL SQL?
table structure: ---------------- col1 col2 ----- ----- 01-mar-2012 11:12:46 01-mar-2012 11:12:10 01-mar-2012 11:12:46 01-mar-2012 11:11:23 Write a query to display the result as shown below: col1 col2 ----- ----- 01-mar-2012 11:12:46 01-mar-2012 11:12:10
How to assign sql query results to pl sql variables?
How do I run a pl sql procedure in sql developer?
How many database objects (trigger, packages, sequence etc) uses a particular field in a given table. For ex: I want to know how many database object uses the ATTRIBUTE1 in the PO_VENDORS table. What query will give me the result showing the database object name(package, trigger etc), field_name used (in this case ATTRIBUTE1) and table_name (in this case PO_VENDORS).
What is crud diagram?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)