Question: When writing SQL table-creating command sequences, the entire table definition is enclosed in _______.

Answer Options:

(A) asterisks.
(B) commas.
(C) parentheses.
(D) quotations.

Answer: (C) parentheses.

 

Question: You cannot have an invalid entry in the foreign key column; at the same time, you cannot delete a vendor row as long as a product row references that vendor. This is known as _______.

Answer Options:

(A) batch updating.
(B) referential integrity.
(C) authentication.
(D) cross joining.

Answer: (B) referential integrity.

 

Question: All changes in a table structure are made using the _______ TABLE command, followed by a keyword that produces the specific changes a user wants to make.

Answer Options:

(A) ALTER.
(B) COMMIT.
(C) UPDATE.
(D) ROLLBACK.

Answer: (A) ALTER.

 

Question: A table can be deleted from the database by using the _______ TABLE command.

Answer Options:

(A) DROP.
(B) DELETE.
(C) REMOVE.
(D) ERASE.

Answer: (A) DROP.

 

Question: SQL requires the use of the _______ command to enter data into a table.

Answer Options:

(A) INSERT.
(B) SELECT.
(C) COMMIT.
(D) NOT NULL.

Answer: (A) INSERT.

 

Question: Which command would be used to delete the table row where the P_CODE is ‘BRT-345’?

Answer Options:

(A) DELETE FROM PRODUCT WHERE P_CODE = ‘BRT-345’;
(B) REMOVE FROM PRODUCT WHERE P_CODE = ‘BRT-345’;
(C) ERASE FROM PRODUCT WHERE P_CODE = ‘BRT-345’;
(D) ROLLBACK FROM PRODUCT WHERE P_CODE = ‘BRT-345’;

Answer: (A) DELETE FROM PRODUCT WHERE P_CODE = ‘BRT-345’;

 

Question: The order of the rows and columns is important to the DBMS.

Answer Options:

(A) True.
(B) False.

Answer: (B) False.

 

Question: Each table in a relational database must have a primary key.

Answer Options:

(A) True.
(B) False.

Answer: (A) True.

 

Question: Each table _______ represents an attribute.

Answer Options:

(A) column.
(B) row.
(C) dimension.
(D) value.

Answer: (A) column.

 

Question: In the relational model, _______ are important because they are used to ensure that each row in a table is uniquely identifiable.

Answer Options:

(A) relations.
(B) keys.
(C) indexes.
(D) logical structures.

Answer: (B) keys.

 

Question: Referential _______ dictates that the foreign key must contain values that match the primary key in the related table, or must contain null.

Answer Options:

(A) integrity.
(B) uniqueness.
(C) model.
(D) attribute.

Answer: (A) integrity.

 

Question: The _______ constraint can be placed on a column to ensure that every row in the table has a value for that column.

Answer Options:

(A) UNIQUE.
(B) NOT NULL.
(C) VALUE.
(D) EMPTY.

Answer: (B) NOT NULL.

 

Question: A(n) _______ join links tables by selecting only the rows with common values in their common attributes.

Answer Options:

(A) attribute.
(B) foreign.
(C) inner.
(D) natural.

Answer: (C) inner.

 

Question: The _______ is actually a system-created database whose tables store the user/designer-created database characteristics and contents.

Answer Options:

(A) database tuple.
(B) systemindex database.
(C) unique index.
(D) system catalog.

Answer: (D) system catalog.

 

Question: The _______ relationship is the “relational model ideal.”

Answer Options:

(A) 1:1.
(B) 1 .
(C) M:1.
(D) M .

Answer: (B) 1

 

Question: As a manager, when you provide rewards or reprimand your subordinates, you are practicing transactional leadership. True False Correct Answer: True

Answer:

 

Question: Which of the following is NOT one of the five sources of power? appearance reward informational legitimate Correct Answer: appearance

Answer:

 

Question: ________ power is power managers have resulting from their formal positions within organizations. (Choose the best answer) Legitimate Informational Referent Expert Correct Answer: Legitimate

Answer: