LATEST UPDATE
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?
Many-to-many
Which kind of relationship is displayed in this entity-relationship diagram?
Many-to-many unary
Which kind of relationship is displayed in this entity-relationship diagram?
Unary one-to-one
How is this portion of the entity-relationship diagram read, from left to right?
At least one book was written by an author.
Which two examples are attributes?
Choose 2 answers
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?
Set-to-Null
In this entity-relationship diagram, Salesperson 361 is related to two customers.
The table follows the restrict delete rule.
What happens if someone tries to delete Salesperson 361 from the customer
records?
The delete is prohibited.
Refer to the given SQL statement.
CREATE TABLE member
(
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,email VARCHAR(100) NULL,
street VARCHAR(50) NULL,
city VARCHAR(50) NULL,
state VARCHAR(2) NULL,
zip VARCHAR(10) NULL,
, phone VARCHAR(20) NULL,
interests VARCHAR(255) NULL);
Which two columns are created as something other than variable-length strings
in this statement?
Choose 2 answers
member_id
expiration
Employee_IDEmployee_NameOffice_Address
12342 Jacob 54123 Main Street
12346. Michael. 354 Center Avenue
12846. Ethan. 54123 Main Street
12887. Joshua. 54123 Main Street
12894. Daniel. 354 Center Avenue
13097. Alexander. 354 Center Avenue
13112. Anthony. 54123 Main Street
13411. William. 354 Center Avenue
13987. Christopher. 354 Center Avenue
13998. Matthew. 54123 Main Street
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?
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?
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?
Foreign
In this entity-relationship diagram, many salespersons are shown as working in at
least one office.
How is the relationship between salespersons and offices represented in the
diagram?
It is linked through the office ID.