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? Correct Answer: Many-to-many
Which two examples are attributes?
A person attending a meeting
An employee number
A sales meeting
A meeting code Correct Answer: 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? Correct Answer: 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? Correct Answer: 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? Correct Answer: member_id
Category | WGU EXAM |
Comments | 0 |
Rating | |
Sales | 0 |