Exam 8: Database Redesign

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

In a correlated subquery,the DBMS can run the lower SELECT statement by itself and then send the results to the upper SELECT statement.

(True/False)
4.9/5
(37)

Explain and contrast the results provided by the EXISTS,NOT EXISTS,and doubly-nested NOT EXISTS keywords.

(Essay)
4.8/5
(32)

Why do databases need redesigning?

(Essay)
4.8/5
(39)

Converting date,money,or other more specific data types to char or varchar will usually succeed.

(True/False)
4.8/5
(40)

When redesigning a database,how can we check assumptions about functional dependencies?

(Essay)
5.0/5
(33)

In the SQL statements SELECT C1.CustName,C1.SalesRepNo FROM CUSTOMER C1; The "C1" is called a(n)________.

(Multiple Choice)
4.8/5
(29)

Depending on the DBMS,when changing the minimum cardinality on the parent side from zero to one,the foreign key constraint that defines the relationship may have to be dropped before the change is made and re-added afterwards.

(True/False)
4.7/5
(30)

SQL contains an SQL command RENAME TABLENAME that can be used to change table names.

(True/False)
4.9/5
(27)

Because of the need to know the functional dependencies in a database,it is a good idea to create a(n)________.

(Multiple Choice)
4.8/5
(30)

In order to make sure the database redesign is working properly during the redesign testing process,a means must be created to ________.

(Multiple Choice)
4.8/5
(38)

To drop a constraint,no preliminary steps are needed and we can simply use the ALTER TABLE DROP CONSTRAINT statement.

(True/False)
4.9/5
(38)

Although correlated subqueries are useful in database redesign,they cannot be used to verify functional dependencies.

(True/False)
4.8/5
(37)

To add a NOT NULL column to a table,we first add a NULL column,then we insert values into every row,and finally we change the NULL constraint to NOT NULL.

(True/False)
4.8/5
(38)

The use of a doubly nested set of NOT EXISTS SELECT statements is a famous pattern in SQL use.

(True/False)
4.8/5
(40)

When using queries with EXISTS and NOT EXISTS,the processing of the associated SELECT statements must be nested.

(True/False)
4.8/5
(28)

If a DEFAULT constraint is included when a new column is added to a table,the default value is only applied to new rows and not to the existing rows at the time the new column is added.

(True/False)
4.8/5
(32)

Because EXISTS and NOT EXISTS are forms of correlated subqueries,the processing of the associated SELECT statements must be nested.

(True/False)
4.8/5
(32)

To drop a foreign key column from a table,no preliminary steps are needed and we can simply use the ALTER TABLE DROP COLUMN statement.

(True/False)
4.9/5
(32)

When dropping a nonkey column from a table,which of the following steps is (are)included in the process? (The order of the steps listed below is not relevant,only the steps themselves. )

(Multiple Choice)
4.7/5
(29)

In a doubly nested set of NOT EXISTS SELECT statements,________.

(Multiple Choice)
4.8/5
(42)
Showing 81 - 100 of 103
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)