Questions
ECON3310001.1251 Quiz 8: Database Design
Single choice
Now consider a revised version of the previous database. Assume that the first attribute in each table is always the primary key, except for Assigned, where the primary key is a composite key consisting of (ssn, number). Schema: Employee (ssn, name, title, home-dept) home-dept FOREIGN KEY REFERENCES Department(code) Department (code, name, manager) manager FOREIGN KEY REFERENCES Employee(ssn) manager NOT NULL Project (number, name, start-date, end-date, budget, sponsor) sponsor FOREIGN KEY REFERENCES Department(code) sponsor NOT NULL Assigned (ssn, number) ssn FOREIGN KEY REFERENCES Employee(ssn) number FOREIGN KEY REFERENCES Project(number) Which of the following statements is true?
Options
A.There may be an employee with no department.
B.All projects are assigned to employees.
C.Not every department needs a manager.
D.Not every manager is an employee.
E.There are some unsponsored projects.
View Explanation
Verified Answer
Please login to view
Step-by-Step Analysis
To tackle this question, I will first restate the scenario and list all answer choices, then evaluate each option one by one.
Question restated: We have a revised database schema where the first attribute in each table is the primary key, except for Assigned which uses a composite key (ssn, number). The schema is: Employee(ssn, name, title, home-dept) with home-dept as a foreign key to Department(code); Department(code, name, manager) where manager is a foreign key to Employee(ssn) and cannot be NULL; Project(number, name, start-date, end-date, budget, sponsor) where sponsor is a foreign key to Department(code) and cann......Login to view full explanationLog in for full answers
We've collected over 50,000 authentic exam questions and detailed explanations from around the globe. Log in now and get instant access to the answers!
Similar Questions
Part 1The BusyB Company wants to store data about its employee skills. Each employee may possess one or more specific skills, and several employees may have the same skill. Include the following facts in the database: View the database facts. LOADING... Read the requirements. LOADING... Part 1Design a set of relational tables to store this data. Select a table name, primary key(s), foreign key(s) and other attributes(s) for each table. (If an input field is not used in the table leave the input field empty; do not select a label.) [table] | Save Accounting Table... | | + | Copy to Clipboard... | | + [/table] [table] Table Name | Primary Key | Foreign Key | Other Attributes | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [/table] Save Accounting Table...+Copy to Clipboard...+Table NamePrimary KeyForeign KeyOther Attributes[Account][Account][Account][Account][Account][Account][Account][Account][Account][Account][Account][Account][Account][Account][Account][Account][Account][Account][Account][Account][Account][Account][Account][Account][Account][Account][Account][Account][Account][Account][Account][Account][Account] [IMPORTANT INSTRUCTION] When returning answers, provide an array for [Fill in the blank] positions ONLY. Skip [Account] cells (these are dropdowns). If a [Fill in the blank] should be empty, return an empty string "" as a placeholder. The array length should equal the number of [Fill in the blank] cells, not total cells.
In a consumer society, many adults channel creativity into buying things
Economic stress and unpredictable times have resulted in a booming industry for self-help products
People born without creativity never can develop it
More Practical Tools for International Students
Making Your Study Simpler
Join us and instantly unlock extensive past papers & exclusive solutions to get a head start on your studies!