logo

CuriousTab

CuriousTab

Discussion


Home Database Advanced SQL Comments

  • Question
  • With the UNION clause, each query involved must output the same number of columns, and they must be UNION compatible.


  • Options
  • A. True
  • B. False

  • Correct Answer
  • True 


  • Advanced SQL problems


    Search Results


    • 1. When AUTOCOMMIT is set on, changes will be made automatically at the end of each SQL statement.

    • Options
    • A. True
    • B. False
    • Discuss
    • 2. A function returns one value and has only output parameters.

    • Options
    • A. True
    • B. False
    • Discuss
    • 3. The code to create triggers and routines is stored in only one location and is administered centrally.

    • Options
    • A. True
    • B. False
    • Discuss
    • 4. A correlated subquery is where the outer query depends on data from the inner query.

    • Options
    • A. True
    • B. False
    • Discuss
    • 5. A transaction is the complete set of closely related update commands that must all be done, or none of them done, for the database to remain valid.

    • Options
    • A. True
    • B. False
    • Discuss
    • 6. The most frequently used relational operation, which brings together data from two or more related tables into one resultant table, is called an equi-join.

    • Options
    • A. True
    • B. False
    • Discuss
    • 7. Triggers are stored blocks of code that have to be called in order to operate.

    • Options
    • A. True
    • B. False
    • Discuss
    • 8. ROLLBACK WORK asks SQL to empty the log file.

    • Options
    • A. True
    • B. False
    • Discuss
    • 9. The UNION clause is used to combine the output from multiple queries together into a single result table.

    • Options
    • A. True
    • B. False
    • Discuss
    • 10. Subqueries can be nested multiple times.

    • Options
    • A. True
    • B. False
    • Discuss


    Comments

    There are no comments.

Enter a new Comment