A factory (including the name and the name of the director) needs to establish a management database to store the following information: I) A factory has a number of workshops, each workshop has the workshop number, workshop director's name, address and telephone number. II) There are more than one workers in each workshop, and each worker has a staff number, name, age, sex type of work. III) A workshop produces a variety of products, each of which has the product number and price. IV) A workshop produces a variety of parts, and one kind of parts may be manufactured by different workshops. Each part has the part number, weight and price. V) A product is consist of a variety of parts, and one kind of parts can be used to assemble a variety of products. VI) Products and parts are stored in the warehouses. VII) A factory has multiple warehouses, each of which has the warehouse number, name and phone of the warehouse director.
(1) Give the ER diagram for this management database.
(2) Mapping the ER diagram into the conceptual schema, and indicate the primary keys and foreign keys.
Solution:
ER Diagram:
The entity relationship diagram represents the various entities and
the relationship between them which helps us in understanding how
the system works.
The ER diagram flr the given scenario is developed as shown below.
Please follow it.

A factory (including the name and the name of the director) needs to establish a management...
Prepare an entity-relationship (ER) diagram using MySQL Workbench for the user requirements described below. Be sure that your ER diagram has the following elements: entities; relationships between entities; primary and foreign keys, and other necessary columns for each entity. Global Trading (GT) is a wholesale business that sells a variety of products; its customers are other businesses. Also GT's vendors are other businesses. GT has the following business rules for the database that the company wants you to design: -A...
Database
1. Draw an Entity-Relationship diagram(including cardinality ratio and participa- tion constraint) to represent the following application: A DEPARTMENT has a number of TEACHERS and each TEACHER is affil- iated only with one DEPARTMENT; A STUDENT has only one TEACHER as an advisor, but a TEACHER can advise many STUDENT; on the other hand, TEACHER instructs many STUDENTS, and a STUDENT has a number of instructors. Different AGENCIES support different TEACHERS for various PROJECTS. (15 points) A trucking company is...
Due to your experience in designing the database for the "Legendary League" game, you have been asked to design the ER diagram for a bigger database to manage the events for the "Legendary League" eSports Oceanic Championship (OC). The requirements are as follows: Registered teams compete in the OC. Each team has a name, and a number of team members. A team also maintains a rank throughout the OC, reflecting how well it is doing in the championship. Team members...
ER Diagrams (Database Management Systems)
Problem 2: Produce an ER diagram for the following
description.
A spreadsheet has a unique le location, composed of a path and a le
name. A spreadsheet is
composed of a set of worksheets, each having a name, unique to that
spreadsheet, and a set of cells.
Each cell has a unique location within the worksheet, designated by
(row, column), and a value.
Problem 3: You are given a description and an ER diagram below....
Design ER diagrams for the three problems below based on the information given. Use Visio or another drawing program: I will not grade hand-drawn diagrams. Your diagrams will include entities, attributes, relationships, candidate keys (PKs), and cardinality and participation constraints. Use the style of ER notation shown in the ER slides (also in Elmasri & Navathe, 6th edition, Figure 7.2 and Figure 7.14). Be sure to use good naming practice with your entities, relationships, and attributes. If you make any...
question One: Design an ER diagram for the following Dental Clinic database. Your diagram should have all the needed details. You may make any reasonable assumptions but you have to state them clearly. ------ The clinic has several dentists. Each dentist has a unique Number, name, nationality, multiple room-number, salary, birth-date and home-address (Box, City, Zip). Each client (patient) has a unique Code, name, home-phone, work-phone, address, and birth-date. Each client is assigned to one dentist. All future visits will...
1. {90 points} Your task is to design a 'Company database capable of storing information about EM- PLOYEE(S), DEPARTMENT(s), and PROJECT(s). Knowing that: We store each employee's name composite attribute - {10 points}), social security number, address, salary, and telephone number. An employee is assigned to one department, but may work on several projects which are not necessarily controlled by the same department. We keep track of the number of hours that an employee works on each project - {10...
CREATE an ER diagram for Home Depot. You should have a notion for products (models, features, serial number, description, etc …), suppliers, warehouses, contractors, employees, managers and anything else that you believe Home Depot would need to use to run their business. Be detailed! You MUST specify multiplicities -> many-many, many-one, one-one Be sure to specify keys Our database should be able to model the following data: Employees – come up with pertinent data to store for an employee based...
Question 4 Needs Grading Q1) (2.5 Points ) We would like to design a database to keep track of a zoo. The following describes the business of the zoo: • The zoo employees are known as zookeepers. Each zookeeper has a name, a unique employee ID number, and a salary. Zookeepers may work in any number of exhibits but they have to be involved in at least one exhibit. A zookeeper does not have to work in an exhibit to...
policy number, owner name, insured amount, and name of the verencialy. (25 pts.) Design an ER diagram for a simple database for the National Hockey League (NHL): • The NHL has many teams Each team has a name, a city, a coach, a captain, and a set of players Each player belongs to only one team Each player has a name, a position (such as left wing or goalie), a skill level, and a set of injury records (each has...