what is different between inline query,subquery& corelated
query?
Answer Posted / ramesh reddy veerabhadra
Subquery is the query in the main select query which runs separately and feeds its output to main query for execution. It runs only once.
SELECT ename, deptno
FROM emp
WHERE deptno = (SELECT deptno
FROM emp
WHERE ename = 'KING');
Corelated sub query uses the values from the main query and runs everytime the main query executes i.e. its simultaneous process.
SELECT ename, deptno, sal
FROM emp x
WHERE sal > (SELECT AVG(sal)
FROM emp
WHERE emp.deptno = x.deptno)
ORDER BY deptno;
| Is This Answer Correct ? | 19 Yes | 6 No |
Post New Answer View All Answers
how can we add a field to the oracle standard forms through Form Persanlization or custom.pll
1)After defining value set we define list of values, I need to enter 1000 values with out entering manually, how will you do that? 2)what are the parameters we use in a concurrent program? 3)what is payroll processing? 4)In organization window after defining an organization and organization classification how to create a new item in the others button? 5)If there are 10 users, How to restrict the selected users not to access the forms?
Differentiate between unidentified receipt, unapplied receipts and on account receipts? : oracle accounts receivable
What are the advantages of operating a database in ARCHIVELOG mode over operating it in NO ARCHIVELOG mode in Oracle?
Explain the process of recievables in oracle financials. : oracle accounts receivable
How do you create a credit note against an invoice? : oracle accounts receivable
Differentiate between writeoff and receipt writeoff. : oracle accounts receivable
can u pls share responsibilities for production how to environment in odi?and how to generate report ?
How to clone the database using RMAN back
WHAT ALL DIFFERENT OPTIONS PRESENT IN WEBI?
what is the link between suppliers and banks in ap module in oracle apps? And also query?
what are the types of LIST REPORTS in cognos8BI? and what is the mean and use of METRIC STUDIO in Cognos 8.3BI?
What is auto accounting what are the steps for setting up auto accounting? : oracle accounts receivable
What is chargeback invoice? How do we create it? : oracle accounts receivable
what are basic modules required to implement oracle application in any oraganisation?