Home / CSE / Database System 2 - CS :: Advanced SQL

CSE :: Database System 2 - CS

  1. 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.

  2. A.

     True

    B.

     False

    View Answer

    Workspace

    Discuss Discuss in Forum


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

  4. A.

     True

    B.

     False

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. The UNION clause is used to combine the output from multiple queries together into a single result table.

  6. A.

     True

    B.

     False

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. ROLLBACK WORK asks SQL to empty the log file.

  8. A.

     True

    B.

     False

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. 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.

  10. A.

     True

    B.

     False

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. Outer join is the same as equi-join, except one of the duplicate columns is eliminated in the result table.

  12. A.

     True

    B.

     False

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. A correlated subquery is where the outer query depends on data from the inner query.

  14. A.

     True

    B.

     False

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. A function returns one value and has only output parameters.

  16. A.

     True

    B.

     False

    View Answer

    Workspace

    Discuss Discuss in Forum


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

  18. A.

     True

    B.

     False

    View Answer

    Workspace

    Discuss Discuss in Forum