3. The QR table records the workshop attendance of students. The BB table is a master table that holds student’s data in INFO151. The ZOOM table automatically records students who enter the workshop session with zoom. The requirements for each of the tables are listed in the requirement table below. (a) Write the DDL to create the tables with the suggested attributes, data types and constraints. (b) What is a composite key? Is the primary key in the BB table a composite key or a surrogate key? Must the last name be unique for this type of primary key? (c) Discuss the limitation of using FName and LName as the primary key. (d) Is the relationship between BB and QR tables a one-to-one? If it is not, state the correct relationship.
3. The QR table records the workshop attendance of students. The BB table is a master table that holds student’s data in INFO151. The ZOOM table automatically records students who enter the workshop session with zoom. The requirements for each of the tables are listed in the requirement table below.
(a) Write the DDL to create the tables with the suggested attributes, data types and constraints.
(b) What is a composite key? Is the primary key in the BB table a composite key or a surrogate key? Must the last name be unique for this type of primary key?
(c) Discuss the limitation of using FName and LName as the primary key.
(d) Is the relationship between BB and QR tables a one-to-one? If it is not, state the correct relationship.


Step by step
Solved in 2 steps









