logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • What is a sub query? What are its various types?


  • Correct Answer
  • - Sub Query also termed as Nested Query or Inner Query is used to get data from multiple tables - A sub query is added in the where clause of the main query There can be two types of subqueries: a) Correlated sub query : - It can reference column in a table listed in the from list of the outer query but is not as independent as a query b) Non-Correlated sub query : - Results of this sub query are submitted to the main query or parent query - It is independent like a query 


  • Technology problems


    Search Results


    • 1. What is a synonym? What are its various types?
    • Discuss
    • 2. What do you mean by a tablespace?
    • Discuss
    • 3. What is a view?
    • Discuss
    • 4. Explain i) Rename ii) Alias.
    • Discuss
    • 5. List the various Oracle database objects.
    • Discuss
    • 6. What are the varoius components of physical database structure of Oracle database?
    • Discuss
    • 7. What do you mean by Redo Log file mirroring ?
    • Discuss
    • 8. Explain the difference between trigger and stored procedure.
    • Discuss
    • 9. Explain Row level and statement level trigger.
    • Discuss
    • 10. What are aggregate functions in SQL? What are those functions?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment