Database Systems: Design, Implementation, & Management
11th Edition
ISBN: 9781285196145
Author: Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher: Cengage Learning
expand_more
expand_more
format_list_bulleted
Expert Solution & Answer
Chapter 5, Problem 5P
Explanation of Solution
Crow’s Foot ER diagram for Tiny College:
The following data model shows the solution for the given question.
Explanation:
- In the above data model, the overlapping constraint (o) is used as a category symbol. Here the “Employee” supertype entity has optional subtype entity.
- The “Professor” and “School” are the current data entities which mean the user can get the data from the current
database ...
Expert Solution & Answer
Trending nowThis is a popular solution!
Students have asked these similar questions
CHAPTER 9
Using cardinalities shown in the partial ER diagram, name the Foreign Key(s) (FK) that should be placed into the respective tables. If no foreign key is required in a table, then indicate NONE. Add any table(s) and Keys that may be needed
Please answer below questions based on this dimensional model and additional information provided
Q1: What is the maximum possible fact data volume in terms of record/row count?
Answer:
Q3: The m:n ratio from attribute B3 to attribute B4 is changed from 1:3 to 1:1 due to some organizational changes. By how many times the maximum possible fact data volume (by record count) decreases?
Answer:
Q4: If there is an aggregate fact table at quarter dimension level with other attributes B4, C5 and A3. What is the maximum possible record count of this aggregate table as per the current state mentioned above?
Answer:
Closely examine the following tables and use it to answer the questions that follow:
department
course
student_type
student_category
Student
registration
registration_type
Suppose that the following are true:
- all id column are primary keys in whichever table they are
- the dept_id in course table is foreign key that is referencing the id column in the department table
- the foreign keys stud_type_id, stud_cat_id in the student table are referencing the id columns
in the student_type and student_category tables respectively.
- the coursecode and stud_id columns in the registration table are foreign keys in the course
and student tables respectively.
1. Design an Entity Relationship Diagram for the system above.
2. Write query that would return the names and contacts of all Local students.
3. Write a query that would return names, contact and locations of all departments that has a
location text with Ave 3 as part of it. [hint: use the LIKE clause with “_” or “%”]
4. What would…
Chapter 5 Solutions
Database Systems: Design, Implementation, & Management
Ch. 5 - Prob. 1RQCh. 5 - What kinds of data would you store in an entity...Ch. 5 - Prob. 3RQCh. 5 - What is a subtype discriminator? Give an example...Ch. 5 - Prob. 5RQCh. 5 - What is the difference between partial...Ch. 5 - Prob. 7RQCh. 5 - According to the data model, is it required that...Ch. 5 - Prob. 9RQCh. 5 - Prob. 10RQ
Ch. 5 - Prob. 11RQCh. 5 - Prob. 12RQCh. 5 - Prob. 13RQCh. 5 - When implementing a 1:1 relationship, where should...Ch. 5 - What is time-variant data, and how would you deal...Ch. 5 - Prob. 16RQCh. 5 - Prob. 1PCh. 5 - Prob. 2PCh. 5 - Prob. 3PCh. 5 - Prob. 4PCh. 5 - Prob. 5PCh. 5 - Prob. 6PCh. 5 - Prob. 7PCh. 5 - Prob. 8CCh. 5 - Prob. 9CCh. 5 - Prob. 10C
Knowledge Booster
Similar questions
- consider the database below and answer the query. pk refers to primary key and FK refers to foreign key. Employee(Employee_id(PK), First_name, Last_name, Email, Phone_number, Hire_Date, Job_ID(FK) COmmision_pct, manager_id, department_id(FK)) Departments(Department_id(PK), dept_name, manager_id(FK), location_id) Locations(Location_id(PK), street_address, postal_code, city, state_province, country_id) Countries(Country_id(PK), Country_name, region_id) Jobs(Job_id(PK), job_title, min_salary, max_salary) write a pl/sql script (using cursor and %TYPE) query to show the ames of all the departments which are not located in US or Canadaarrow_forwardconsider the database below and answer the query. pk refers to primary key and FK refers to foreign key. Employee(Employee_id(PK), First_name, Last_name, Email, Phone_number, Hire_Date, Job_ID(FK) COmmision_pct, manager_id, department_id(FK)) Departments(Department_id(PK), dept_name, manager_id(FK), location_id) Locations(Location_id(PK), street_address, postal_code, city, state_province, country_id) Jobs(Job_id(PK), job_title, min_salary, max_salary) write a pl/sql script (using cursor and %TYPE) query to show the ames of all the departments which are not located in US or Canadaarrow_forwardconsider the database below and answer the query. pk refers to primary key and FK refers to foreign key. Employee(Employee_id(PK), First_name, Last_name, Email, Phone_number, Hire_Date, Job_ID(FK) COmmision_pct, manager_id, department_id(FK)) Departments(Department_id(PK), dept_name, manager_id(FK), location_id) Locations(Location_id(PK), street_address, postal_code, city, state_province, country_id) Jobs(Job_id(PK), job_title, min_salary, max_salary) write a pl/aql script to create a procedure the string accordingly, if the employee is receiving any commision(COMMISSION_PCT) or not. the argument of the profedure is Empl_id. also, write the procedure callarrow_forward
- consider the database below and answer the query. pk refers to primary key and FK refers to foreign key. Employee(Employee_id(PK), First_name, Last_name, Email, Phone_number, Hire_Date, Job_ID(FK) COmmision_pct, manager_id, department_id(FK)) Departments(Department_id(PK), dept_name, manager_id(FK), location_id) Locations(Location_id(PK), street_address, postal_code, city, state_province, country_id) Jobs(Job_id(PK), job_title, min_salary, max_salary) write a pl/sql script to create a trigger that prints"the department name is changed from IT to sales" whenever the department is changed from IT to salesarrow_forwardconsider the database below and answer the query. pk refers to primary key and FK refers to foreign key. Employee(Employee_id(PK), First_name, Last_name, Email, Phone_number, Hire_Date, Job_ID(FK) COmmision_pct, manager_id, department_id(FK)) Departments(Department_id(PK), dept_name, manager_id(FK), location_id) Locations(Location_id(PK), street_address, postal_code, city, state_province, country_id) Jobs(Job_id(PK), job_title, min_salary, max_salary) wirte a function (with one argument : department name) that calculates and returns the total number of employees who are not working in IT department and earning more than $5000. write an appropriate call also. COMP 214 pl/sqlarrow_forwardConvert the diagram into a set of relational tables. The tables must be in 3NF. All referential integrity and functional dependencies must be indicated accurately in EITHER of the following 2 ways: Draw lines for referential integrity and for functional dependencies as belows. 1. Show referential integrity as follows: Supplier(S#, Sname, City, Status); Part(P#, Pname, Color, Weight, City); SP(S#, P#, QTY) Foreign key (S#) References Supplier, Foreign key (P#) References Part; 2. Show functional dependencies as follows: B → C CD → Earrow_forward
- Consider the following relations about NBA: P LAY ER(pid, pname, nation). Each tuple describes a player with pid being the player’sid, pname his name, and nation his nationality. The table has a primary key pid. T EAM(tid, tname). Each tuple describes a team with tid being the team’s id, and tnameits name. The table has a primary key tid. REGIST ER(pid, tid, salary, year). Each tuple records the fact that a certain player (indicated by pid) played for a certain team (indicated by tid) in a specific year with an annual income given in salary. The table has a primary key (pid,year ). Note that a player may belong to different teams in different years. (a) Find the names of the teams and the corresponding year that “Michael Jordan” ever playedfor. (b) Find the names of all players of the team “Heat” in year 2020. (c) For each player, display his pid, and the first and last years in which he played. (d) Find the pids of all players that played from 2010 through 2020 (i.e., such a…arrow_forwardConsider an automobile dealership with three locations. Data fields exist for stock number, vehicle identification number, make, model, year, color, and invoice cost. Identify the possible candidate keys, the likely primary key, a probable foreign key, and potential secondary keys. What is the best keys possible?arrow_forwardDavid wants to make improvements to the management of his company inventory and will like to start by developing a set of tables to store the following data about purchases of inventory: product number date of purchase supplier number supplier address supplier same unit price quantity purchased employee number employee name purchase order number product description quantity on hand total amount of purchase (a) Design a set of relational tables to store this data. (b) Identify the primary key for each table. (c) Identify the foreign keys needed in the tables to implement referential integrity. (d) Make up data values for two records within each table.arrow_forward
- keep getting a ambiguous error for this question below question- Join the payment_info and payments table together based on PK/FK. Display the count of records for each payment type. use first; select payment_type, count(payment_info_id) from payment_info join payments where payments.payment_info_id = payment_info.payment_info_id Tables and colums are customer_product - id , ordered_amount , customer_id , product_id ,payment_id customers - customer_id , first_name , last_name , email , phoneNo , shipping_detail_id invoice - invoice_id , invoice_no , amount , invoice_date payment_info - payment_info_id , payment_type payments - payment_id , payment_info_id , invoice_id products - product_id , product_name , details , category , quantity shipping_details - shipping_detail_id , address , city , province thanksarrow_forwardWhat's the difference between data independence and structural independence, exactly?arrow_forwardQUESTION 1 How do we know the following relation with the following dependencies is BCNF? course ( course_id , title , dept_name , credits ) Functional Dependencies course_id → title , dept_name , credits building , room_number → capacity course_id , sec_id , semester , year → building , room_number , time_slot_id course_id, dept_name is a superkey course_id is a candidate key dept_name is a superkey course_id is a superkey QUESTION 2 In the following decomposition of R, what can we say about the decomposition if at least one of the following dependencies is in F + : • R 1 ∩ R 2 → R 1 • R 1 ∩ R 2 → R 2 it is 3NF it is lossy it is lossless it is BCNF QUESTION 3 Which of the following are hallmarks of good database design? avoids necessity of nulls decomposition is lossless all of the above avoids repetition of dataarrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education