logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • What is correlated query? Explain its uses.


  • Correct Answer
  • In a correlated query, the outer query is related to the inner query This means one or more columns in the outer query are referenced It?s used when the outer queries value is being used by inner query For example, we need to find which employee had more perks in the current month than they did in the previous month The correlated subquery is executed for each row of perks information in the parent query to first determine what the perks were for each employee in the previous month This data, in turn, is compared to perks for each employee in the current month, and only those employees whose perks in the current month were greater that their previous month's perks are returned 


  • Technology problems


    Search Results


    • 1. What are joins? Explain its characteristic features .
    • Discuss
    • 2. Explain how to limit the rows that are retrieved by a query.
    • Discuss
    • 3. Explain unique Constraint.
    • Discuss
    • 4. Explain foreign key constraint.
    • Discuss
    • 5. Explain primary key constraint.
    • Discuss
    • 6. Define PL/SQL. Explain its purpose
    • Discuss
    • 7. What are the Advantages of PL/SQL?
    • Discuss
    • 8. SQL vs. PL/SQL
    • Discuss
    • 9. Both PL/SQL and Java (or) .NET code can be used to create Oracle stored procedures and triggers. Which of the one should be used and why?
    • Discuss
    • 10. Explain how to debug PL/SQL program.
    • Discuss


    Comments

    There are no comments.

Enter a new Comment