Database Concepts (7th Edition)
Database Concepts (7th Edition)
7th Edition
ISBN: 9780133544626
Author: David M. Kroenke, David J. Auer
Publisher: PEARSON
bartleby

Concept explainers

Expert Solution & Answer
Book Icon
Chapter 5, Problem 5.12RQ

Explanation of Solution

The method for obtaining data:

After showing the two way of representing the 1:1 relationship in question 5.11 then creates a method for obtaining data about one of the entities given the key of the other.

To go from “HOD” table to “Department” table:

  • The first way representing the 1:1 relationship is placing “HOD_ID” into the “Department” table as a foreign key. So, look up the “HOD_ID” in “Department” table.
  • The second way is placing “Dep_ID” into the “HOD” table as a foreign key and uses the “HOD_ID” to get the row of “HOD”, then obtain “Dep_ID” from “HOD” and look up the row in “Department” using “Dep_ID” obtained...

Blurred answer
Students have asked these similar questions
There are two alternative methods of representing an employee’s optional (single) phone number.  The first is to use a nullable attribute and the second is to use a weak entity. 1. Given a requirement that a large number of the employees (> 80%) are assigned a phone number, which is the preferred method and why? 2. Given a requirement that only a small number of employees (< 10%) are assigned phone numbers, which is the preferred method and why? 3. How would the requirement of ‘multiple phone numbers can be assigned to an Employee’ affect your decision?  Your answers should consider the performance tradeoff between number of database operations per query and record’s size.
Create an E-R model for the following scenario. Show entity names, primary keys, attributes for each entity, relationships between the entities and cardinality. Lonestar Car Dealer is a leading car dealership in US. The dealership sells both new and used cars, and it has a service facility as well. There are a couple of requirements that the database must meet. Those are as follows. Each car is sold by a salesperson. One car sale has only one salesperson. But one salesperson may sell many cars. Customers buy one or many cars. But single sale can have only one customer (No multiple customers for a given car sale). The salesperson writes one invoice for each car he/she sells. Customer is issued this invoice. A customer may be just a service center customer and does not need to be a car buyer. One service ticket per each car is issued when it is reached to the service center. The car a service history is maintained for each of the cars serviced. Car has a unique serial number. One or more…
Note: solve only if you can answer it correctly . Otherwise I will dislike the answer. Thank you!!   Q. Indicate the changes you need to make to the design of the BITS database to support the following situation. There is no relationship between clients and consultants. When a client places an order (service request), it may be performed by any consultant. On the order, identify both the client placing the order and the consultant responsible for the order.
Knowledge Booster
Background pattern image
Computer Science
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
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education