Home / CSE / Database System 2 - CS :: Database Redesign

CSE :: Database System 2 - CS

  1. Which of the following SQL statements are helpful in database redesign?

  2. A.

     Correlated subqueries only

    B.

     EXISTS/NOT EXISTS expressions only

    C.

     Both of the above are helpful

    D.

     None of the above are helpful

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. What SQL command can be used to delete columns from a table?

  4. A.

     MODIFY TABLE TableName DROP COLUMN ColumnName

    B.

     MODIFY TABLE TableName DROP ColumnName

    C.

     ALTER TABLE TableName DROP COLUMN ColumnName

    D.

     ALTER TABLE TableName DROP ColumnName

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. Database redesign is not terribly difficult if the:

  6. A.

     database is structured.

    B.

     database is well-designed.

    C.

     database has no data.

    D.

     database is relatively small.

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. Which SQL-92 standard SQL command can be used to change a table name?

  8. A.

     RENAME TABLE

    B.

     CHANGE TABLE

    C.

     ALTER TABLE

    D.

     None of the above is correct

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. The process of reading a database schema and producing a data model from that schema is known as:

  10. A.

     data modeling.

    B.

     database design.

    C.

     reverse engineering.

    D.

     None of the above is correct.

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. Before any changes to database structure are attempted one should first:

  12. A.

     clearly understand the current structure and contents of the database only.

    B.

     test any changes on a test database only.

    C.

     create a complete backup of the operational database only.

    D.

     All of the above should be done.

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. Which of the following modifications may not succeed?

  14. A.

     Changing a column data type from char to date

    B.

     Changing a column data type from numeric to char

    C.

     Both of the above actions should succeed

    D.

     Neither of the above actions will succeed

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. How can you find rows that do not match some specified condition?

  16. A.

     EXISTS

    B.

     Double use of NOT EXISTS

    C.

     NOT EXISTS

    D.

     None of the above is correct

    View Answer

    Workspace

    Discuss Discuss in Forum


  17. A regular subquery can be processed:

  18. A.

     from the top down.

    B.

     from the bottom up.

    C.

     by nesting.

    D.

     None of the above is correct.

    View Answer

    Workspace

    Discuss Discuss in Forum


  19. What SQL command can be used to add columns to a table?

  20. A.

     MODIFY TABLE TableName ADD COLUMN ColumnName

    B.

     MODIFY TABLE TableName ADD ColumnName

    C.

     ALTER TABLE TableName ADD COLUMN ColumnName

    D.

     ALTER TABLE TableName ADD ColumnName

    View Answer

    Workspace

    Discuss Discuss in Forum