Modern Database Management
13th Edition
ISBN: 9780134773650
Author: Hoffer
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Concept explainers
Textbook Question
Chapter 8, Problem 8.58PAE
Consider the relations specified in Problem and Exercise 8-53 i9. Assume that the
LEAGUE (LeagueID, LeagueName, LeagueLocation)
In addition, TEAM has an attribute TeamLeague. The following database operations are typical:
- Adding new players.
- Adding new player contracts.
- Updating player specialty codes.
- Updating city populations.
- Reporting players by team.
- Reporting players by team and specialty.
- Reporting players ordered by salary.
- Reporting teams and their players by city.
- Identify the foreign keys.
- Specify the types of indexes you would recommend for this situation. Explain how you used the list of operations described above to arrive at your recommendation.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
Consider the following relational schema for a library database:
Book (Title, Author, Catalog_no, Publisher, Year, Price, bookCoverType, contractDate)
Collection (Title, Author, Catalog_no)
Assume {Author, Title} is the key for both relations
Additional functional dependencies are
Title,Author --> Catalog_no
Catalog_no --> Publisher, Year, bookCoverType
Publisher, bookCoverType --> Price
Author --> contractDate
a) Explain what normal form the relation is in.
b) Apply normalization until the 3rd State reasons behind each normalization
Explain the concept of multi-valued dependencies in the Fourth Normal Form (4NF) and Fifth Normal Form (5NF). Provide an example of a database scenario where these forms are relevant.
Database Systems
Question 3.
A relation R is given which is R(A,B,C,D,E). It has the following functional dependencies:
BC -> ADE , D -> B.
Answer the following based on this information.
Which normal forms does this relation satisfy?
Which type of dependencies violates BCNF? Is this relation in BCNF? If not, is it possible to decompose it to BCNF?
Chapter 8 Solutions
Modern Database Management
Ch. 8 - Prob. 8.1RQCh. 8 - Prob. 8.2RQCh. 8 - Prob. 8.3RQCh. 8 - Prob. 8.4RQCh. 8 - Prob. 8.5RQCh. 8 - Prob. 8.6RQCh. 8 - Prob. 8.7RQCh. 8 - Prob. 8.8RQCh. 8 - Explain why you sometimes have to reserve much...Ch. 8 - Why are field values sometimes coded?
Ch. 8 - Prob. 8.11RQCh. 8 - Prob. 8.12RQCh. 8 - Explain why normalized relations may not comprise...Ch. 8 - Prob. 8.14RQCh. 8 - List three common situations that suggest that...Ch. 8 - Explain the reasons why some experts are against...Ch. 8 - Prob. 8.17RQCh. 8 - Prob. 8.18RQCh. 8 - Prob. 8.19RQCh. 8 - Prob. 8.20RQCh. 8 - Prob. 8.21RQCh. 8 - Prob. 8.22RQCh. 8 - One of the strongest recommendations regarding...Ch. 8 - Explain why an index is useful only if there is...Ch. 8 - Indexing can clearly be very beneficial. Why...Ch. 8 - Prob. 8.26RQCh. 8 - Prob. 8.27RQCh. 8 - Describe the role of data dictionary in the...Ch. 8 - Prob. 8.29RQCh. 8 - Prob. 8.30RQCh. 8 - Explain how creating a view may increase data...Ch. 8 - Prob. 8.32RQCh. 8 - Prob. 8.33RQCh. 8 - Prob. 8.34RQCh. 8 - Prob. 8.35RQCh. 8 - Prob. 8.36RQCh. 8 - Prob. 8.37RQCh. 8 - Prob. 8.38RQCh. 8 - Prob. 8.39RQCh. 8 - How can views be used as part of data security?...Ch. 8 - Prob. 8.41RQCh. 8 - Prob. 8.42RQCh. 8 - Consider the following two relations for...Ch. 8 - Prob. 8.44PAECh. 8 - Prob. 8.45PAECh. 8 - Prob. 8.46PAECh. 8 - Prob. 8.47PAECh. 8 - Suppose you are designing a default value for the...Ch. 8 - When a student has not chosen a major at a...Ch. 8 - Prob. 8.50PAECh. 8 - Prob. 8.51PAECh. 8 - Consider the relations in Problem and Exercise...Ch. 8 - Prob. 8.53PAECh. 8 - Prob. 8.54PAECh. 8 - Prob. 8.55PAECh. 8 - Prob. 8.56PAECh. 8 - Prob. 8.57PAECh. 8 - Consider the relations specified in Problem and...Ch. 8 - Prob. 8.59PAECh. 8 - Prob. 8.60PAECh. 8 - Prob. 8.61PAECh. 8 - Prob. 8.62PAECh. 8 - Prob. 8.63PAECh. 8 - Prob. 8.64PAECh. 8 - Problems and Exercises 8-65 through 8-68 refer to...Ch. 8 - Prob. 8.66PAECh. 8 - Problems and Exercises 8-65i5 through 8-68 refer...Ch. 8 - Refer to Figure 4-5 0. For each of the following...Ch. 8 - Prob. 8.69PAECh. 8 - Prob. 8.70PAECh. 8 - Prob. 8.71PAECh. 8 - Prob. 8.72PAECh. 8 - Prob. 8.73PAECh. 8 - Prob. 8.74PAECh. 8 - Prob. 8.75PAECh. 8 - Prob. 8.76PAECh. 8 - Prob. 8.77PAE
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- Map (or transform) EER Model diagram below into a relational database schema. Take into account all the constraints in your EER model. Underline the primary key attributes of each relation and show each foreign key as a directed arrow from the referencing attribute(s) to the referenced attribute(s) in the referenced relation.arrow_forward. For each item below, specify whether the statement is true (T) or false (F). Each Database Management System (DBMS) is based on a Data Model. Database Users may desire to perform conflicting operations at the same time. For example, in an Airline Reservation System, two on-line users may see the last empty seat while trying to reserve a seat on a flight. Concurrency features of a DBMS prevents them from reserving the same seat, therefore avoiding inconsistent database states. In the Entity-Relationship Model (E-R), an Attribute maps an entity to another entity (or a set of entities). A Relationship, on the other hand, maps an entity to a primitive value. Specialization ISA is the result of taking the union of two or more lower-level entity sets to produce a higher-level entity set. It emphasizes the similarity. In the Network Data Model, relationships between record types are implemented by means of Link Types. Since…arrow_forwardFor each item below, specify whether the statement is true (T) or false (F). __ Each Database Management System (DBMS) is based on a Data Model. __ Database Users may desire to perform conflicting operations at the same time. For example, in an Airline Reservation System, two on-line users may see the last empty seat while trying to reserve a seat on a flight. Concurrency features of a DBMS prevents them from reserving the same seat, therefore avoiding inconsistent database states. ___ In the Entity-Relationship Model (E-R), an Attribute maps an entity to another entity (or a set of entities). A Relationship, on the other hand, maps an entity to a primitive value. __ Specialization ISA is the result of taking the union of two or more lower-level entity sets to produce a higher-level entity set. It emphasizes the similarity. __ In the Network Data Model, relationships between record types are implemented by means of Link Types. Since there can be only one…arrow_forward
- Let us consider the following relational database. Students(stuID, lastName, firstName, major, gpa) Faculty(facID, name, deptName, rank) Classes(classNhmber, facID, schedule, room) Enrolls(stuID, classNumber, grade) The primary keys are underlined. The referential integrity constraints are as follows: The column facID of relation Classes that references table Faculty, The column of stuID of relation Enrolls that references table Students, and The column classNumber of relation Enrolls that references table Classes. The following SQL statement is intended to define the table Students. However, this statement does not work correctly. CREAT TABLE Students( lastName VARCHAR(20), firstName VARCHAR(20), major VARCHAR(40) gpa DECIMAL(3,2), PRIMARY KEY(stuID)); However, this statement does not work correctly. Briefly explain why and list the corrected SQL statement.arrow_forwardQUESTION 17 Consider the database schema below for cities in countries. A country have many cities, and the same city name can be found in different countries. Country (ID: integer, Name: String (unique)) City (serialNo: integer (unique, not null), CountryID: Integer, CityName: String, Population: integer) The same country name can be repeated with two different IDs in Country relation? No, violates key constraint. No, violates entity Integrity constraint No, violates domain constraints. No, violates referential integrity constraint. Yes.arrow_forward4. (a) Why is normalization important in database design? Consider the universal relation R = {A, B, C, D, E, F, G, H, I, J} and the set of functional dependencies F = { AB → C, A → DE, B → F, F → GH, D → IJ }.What is the key for R? Decompose R into 2NF (Second Normal Form) and then 3NF (Third Normal Form) relations. (b) Consider a relation schema R = (X, Y, Z) on which the following functional dependencies hold: { XY → Z, Z → X }. Show that the schema R is not in BCNF (Boyce-Codd Normal Form) but it is in 3NF (Third Normal Form).arrow_forward
- Assume that you have to design a databaseto manage books issued by your universitylibrary. Attributes for a book include bookidentification number, book title, author,ISBN, publisher, edition, and stock. Identifythe primary key for this entity. What attributes would be associated with other entitiesand used as foreign keys?arrow_forwardConsider the unnormalized relation R with six attributes ABCDEF and the following functional dependencies:AB ->CDEB -> FC -> Da) What is the key(s) for the relation?b) What is the normal form of this relation? Explain it.c) Decompose R into 3NF relations step by step if it is not in 3NF.arrow_forwardRead the following business rules carefully and use common sense when necessary to come up with a good database design as follows: 1- First, develop an ER model. Make sure to use meaningful entity names and relations. 2- Translate ER model into a set of tables, relations and constraints. 3- Label appropriate columns as primary keys and foreign keys. Business rules: A patient can make many appointments with one or more doctors in the clinic, and a doctor can accept appointments with many patients. However, each appointment is made with only one doctor and one patient. Emergency cases do not require an appointment. However, for appointment management purposes, an emergency is entered in the appointment book as “unscheduled.” If kept, an appointment yields a visit with the doctor specified in the appointment. The visit yields a diagnosis and, when appropriate, treatment. With each visit, the patient’s records are updated to provide a medical history Each patient visit…arrow_forward
- QUESTION 7 Consider the database schema below: Company (ID: integer, Name: String (unique), Address) Department (No: integer, CompanyID: Integer, DepartmentName: String) Is it valid to have the same Company name to be repeated with two different IDs in Company relation? Yes. No, violates key constraint. No, violates entity Integrity constraint No, violates referential integrity constraint. No, violates domain constraints.arrow_forwardLet us consider the following relational database. Students(stuID, lastName, firstName, major, gpa) Faculty(facID, name, deptName, rank) Classes(classNumber, facID, schedule, room) Enrolls(stuID, classNumber, grade) The column facID of relation Classes that references the table Faculty, The column StuID of relation Enrolls that references table Students, and The column classNunber of relation Enrolls that references table Classes. The following SQL statement is intended to add a record to the table Students. Assume that the entered value for each column is appropriate. In other words, there is no domain constraint violation. INSERT INTO Students(stuID, lastName, firstName, major) VALUES('950555111', 'Anna' 'Smith', 'BSIT'); However, this statement does not work correctly. Briefly explain why and list the correct SQL statement.arrow_forwardDevelop an EER model for the following situation using EER notation, as specified by your instructor. An international school of technology has hired you to create a database management system to assist in scheduling classes. After several interviews with the president, you have come up with the following list of entities, attributes, and initial business rules: • Room is identified by Building ID and Room No and also has a Capacity. A room can be either a lab or a classroom. If it is a classroom, it has an additional attribute called Board Type. • Media is identified by MType ID and has attributes of Media Type and Type Description. Note: here we are tracking type of media (such as a DVD, projector, etc.), not the individual piece of equipment. Tracking of equipment is outside of the scope of this project. • Computer is identified by CType ID and has attributes of Computer Type and Type Description, Disk Capacity, and Processor Speed. Please note: as with Media Type, we are tracking…arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Database Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781285196145Author:Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos CoronelPublisher:Cengage LearningFundamentals of Information SystemsComputer ScienceISBN:9781305082168Author:Ralph Stair, George ReynoldsPublisher:Cengage LearningFundamentals of Information SystemsComputer ScienceISBN:9781337097536Author:Ralph Stair, George ReynoldsPublisher:Cengage Learning
Database Systems: Design, Implementation, & Manag...
Computer Science
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
Fundamentals of Information Systems
Computer Science
ISBN:9781305082168
Author:Ralph Stair, George Reynolds
Publisher:Cengage Learning
Fundamentals of Information Systems
Computer Science
ISBN:9781337097536
Author:Ralph Stair, George Reynolds
Publisher:Cengage Learning
Enhanced Entity Relationship Model; Author: Data Science Center;https://www.youtube.com/watch?v=ocQUtXPumdQ;License: Standard YouTube License, CC-BY