C170 Final Exam |Question and Answer| 100% Correct
C170 Final Exam |Question and Answer| 100% Correct A salesperson is authorized to sell many products and a product can be sold by many salespersons. Which kind of binary relationship does this scenario describe? *Ans* Many-to-many Which two examples are attributes? *Ans* An employee number A meeting code Which delete rule sets column values in a child table to a missing value when the matching data is deleted from the parent table? *Ans* Set-to-Null member_id INT UNSIGNED NOT NULL AUTO_INCREMENT, PRIMARY KEY (member_id), last_name VARCHAR(20) NOT NULL, first_name VARCHAR(20) NOT NULL, suffix VARCHAR(5) NULL, expiration DATE NULL, Which two columns are created as something other than variable-length strings in this statement? *Ans* member_id expiration This database table has ten different employee numbers in the first column. Employee_ID is the primary key. In addition, it has ten different names in the second column and two office addresses repeated five times each in the third column. Which action should be used to translate this data into third normal form? *Ans* Move the data from the third column into its own table. A database manager starts to convert data that has been normalized into a form that conforms to the relational model. A simple primary key has been established and all the repeating groups have been deleted. In which form is this data? *Ans* Second normal form Two attributes in two related tables have the exact same domain of values. The attribute is a primary key in one table. Which kind of key is the attribute in the other table? *Ans* Foreign SELECT PRODNUM, PRODNAME FROM PRODUCT
Written for
Document information
- Uploaded on
- May 26, 2024
- Number of pages
- 11
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
c170 final exam question and answer 100 correct
Also available in package deal