Question

In: Computer Science

Draw an ERD diagram for Hair Saloon and describe its relationship

Draw an ERD diagram for Hair Saloon and describe its relationship

Solutions

Expert Solution

The resultant entity relationship diagram has five entities. First entity is customer. Customer has attributes naming customer ID, customer name, age, and gender. Customer ID is primary key here. Second entity is employee. Employee has attributes naming employee ID which is primary key, gender, address, and pay. Third entity is services. Services has attributes naming service ID which is a primary key , service name, service duration, materials required and price. Fourth entity is appointment which keeps track of of all the appointments made by the customer in the hair salon. It has attributes naming appointment ID, date, time and service Id, where appointment ID is a primary key. The last entity is service provisioning. This entity has the record of the services which have been performed until a particular time it has attributes named service ID, and service time.

Customer and appointment entity has a 'makes' relationship in which customer makes an appointment and one customer can make one or more appointments. Employee has a relationship with service provisioning entity where a service provisioning is performed by I an employee. One service can be performed by multiple employees and one employee cand provision multiple services. Appointment has relationship name 'Provision for' with service provisioning where each service provisioning is provisioned for a particular appointment. One service provisioning can be performed for one appointment only so it is a one to one relationship. Services entity has a undergoes relationship with service provisioning. One service can be provisioned multiple times due to multiple appointment of the same service, so it is a one to many relationship.


Related Solutions

2. Draw an entity relationship diagram (ERD) for the following situation: The state of Georgia is...
2. Draw an entity relationship diagram (ERD) for the following situation: The state of Georgia is interested in designing a database that will track its researchers. Information of interest includes researcher name, title, position; university name, location, enrollment; and research interests. Each researcher is associated with only one institution, and each researcher has several research interests. 3. Visit a Web site that allows customers to order a product over the Web (e.g., Amazon.com). Create a data model that the site...
case study 1.    Draw an Entity Relationship Diagram (ERD) for the following problem. Make sure you identify...
case study 1.    Draw an Entity Relationship Diagram (ERD) for the following problem. Make sure you identify correct relationships, attributes, and identifiers (keys). 2.    Implement the database design into tables using an industrial-strength database management system (e.g. Oracle SQL+). case: HELP is a voluntary organization that provides aid to people. Based on the following brief description of operations, create the appropriate fully labeled Crow’s Foot ERD. Individuals volunteer their time to carry out the tasks of the organization. For each volunteer, their...
Draw the functional tree diagram of a hair dryer using its primary function and sub-functions.
Draw the functional tree diagram of a hair dryer using its primary function and sub-functions.
Use information from text to create (ERD) Entity Relationship Diagram . Make sure relationship sentences are...
Use information from text to create (ERD) Entity Relationship Diagram . Make sure relationship sentences are consistent with relationship in ERD. Video Store (AVS) runs a series of fairly standard video stores: • Every customer must have a valid AVS customer card in order to rent a video. Customers rent videos for three days at a time. Every time a cus- tomer rents a video, the system must ensure that he or she does not have any overdue videos. If...
(1) Draw the diagram showing the relationship between SAC and LAC. (2) Draw the diagram showing...
(1) Draw the diagram showing the relationship between SAC and LAC. (2) Draw the diagram showing the relationship between SMC and LMC.
Create an Entity relationship diagram (ERD) conceptual model for this case. VINEYARD HOLDINGS AND GRAPE VARIETIES...
Create an Entity relationship diagram (ERD) conceptual model for this case. VINEYARD HOLDINGS AND GRAPE VARIETIES VVI’s vineyard sources its wine from ten plots of land in separate locations from two acres to twenty acres. Each vineyard has its own unique name, such as Rattlesnake Canyon, Red Fox, Theresa’s, etc. and is either owned by VVI or by an independent third party. Each is managed by a single employee. No employee manages more than one vineyard. The location and size,...
Draw and describe a systems diagram showing the relationship between atmospheric methane concentration, METHANOGENS, and air...
Draw and describe a systems diagram showing the relationship between atmospheric methane concentration, METHANOGENS, and air temperature. Hint: Metabolism will increase with temperature. Draw and describe a systems diagram showing the relationship between atmospheric methane concentration, METHANOTROPHS, and air temperature. Thank you! A drawing or a simple explanation for each process would be greatly appreciated
Develop a Entity-Relationship Diagram (ERD) Many-to-Many The city of Terra Haute, IN wants to maintain information...
Develop a Entity-Relationship Diagram (ERD) Many-to-Many The city of Terra Haute, IN wants to maintain information about its extensive system of high schools, including its teachers and their university degrees, its students, administrators, and the subjects that it teaches. Each school has a unique name, plus an address, telephone number, year built, and size in square feet. Students have a student number, name, home address, home telephone number, current grade, and age. Regarding a student’s school assignment, the school system...
C)    Explain MVC architectural pattern and its components. Draw a diagram that describes the pattern. Describe...
C)    Explain MVC architectural pattern and its components. Draw a diagram that describes the pattern. Describe the behavior of MVC by using online shopping application that has the following responsibilities: browse catalog, add item to shopping cart, remove item from shopping cart, display shopping cart. State the two advantages and two disadvantages of using this pattern.
Draw an ERD for a scenario in which patients visit doctors. It is possible that a...
Draw an ERD for a scenario in which patients visit doctors. It is possible that a patient is visited by more than one doctor. Create DOCTOR and PATIENT entities and add at least four attributes to them including a primary key. Create an implementation ready ERD with all appropriate connectivities and cardinalities. Justify your choice of cardinalities with real world examples. In case you need to add any new entities, add at least two attributes apart from their primary keys...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT