answersLogoWhite

0

The main differencre between subquery and co-related subquery is that in subquery child query is executed first n then parent,but in co-related subquery main query is executed first(even though parenthesis are present) and then child query. Example of co-related subquery select dname from dept where exists

(select deptno from emp

where dept.deptno=emp.deptno); select dname from dept where not exists

(select deptno from emp

where dept.deptno=emp.deptno);

User Avatar

Wiki User

17y ago

What else can I help you with?

Related Questions

What are nested transactions in MySQL?

Nested Transactions are transactions within transactions and are currently not supported by MySQL. Nested Transactions are not even vaguely related to Co-related Queries.


Forms of sub queries in ms sql?

Sql Forms Sql Forms


Want to become sub broker for reliance money in mumbai?

For any queries on taking sub brokership in maharashtra, call me on 9370014795.


What is option implicit in visual basic?

The Related Link will answer all your queries related to Visual Basic.


What is the chemical equation for the combustion of carbon dioxide?

the answer is CO(sub 2)+H(SUB 2)O


What are the different types of queries?

Queries can be categorized into several types based on their purpose and structure. The primary types include select queries, which retrieve data from databases; action queries, which modify data (like insert, update, or delete); parameter queries, which prompt users for input to filter results; and aggregate queries, which perform calculations on a set of values, such as summing or averaging. Additionally, there are join queries, which combine data from multiple tables based on related columns.


Queries are created specifically to gather HBSS related compliance data?

Queries in HBSS are designed to gather specific data related to compliance with security policies and best practices. These queries enable administrators to monitor and assess the state of compliance within their systems, helping to ensure that security measures are effectively implemented and maintained. By running these queries, organizations can proactively identify and address any vulnerabilities or non-compliance issues within their environment.


An SQL subquery can appear inside of another SQL subquery?

Yes, but more the levels of sub queries, the more would be the time taken to execute the query.


What are the subdivisions of Auschwitz?

Sub divisions means Sub camps of auschwitz Look at related linked


What has the author Rebecca Jane Heumann written?

Rebecca Jane Heumann has written: 'The impact of Co Sub 2 /Sub fertilization on soil carbon'


What does IR Co mean when on a 30 caliber M1 carbine?

Name of maker or sub contractor


What are the four main types of queries?

The four main types of queries are select queries, action queries, parameter queries, and aggregate queries. Select queries retrieve data from one or more tables based on specified criteria. Action queries modify data, such as updating, deleting, or inserting records. Parameter queries prompt users for input to filter results dynamically, while aggregate queries perform calculations on data, such as summing or averaging values.