Question

In: Computer Science

Draw the corresponding ERD for the following Employee Database: Employee (emp_id, first_name, middle_name, last_name, date_of_birth) Dept...

Draw the corresponding ERD for the following Employee Database:

Employee (emp_id, first_name, middle_name, last_name, date_of_birth)

Dept (Dept_id, Dept_name, Building)

works (emp_id, dept_id, hours)

Emp_phone (emp_id, phone_num)

Note:

Please I need a short answer only on paragraph and simple words.

Solutions

Expert Solution

Solution:

As per your requirement I have designed E-R Diagram for the employee database, below I have discussed all.

Above we have created an entity of employee, works, dept, emp_phone - Entity means anything which has some values in it or some characteristics.

Next inside the bracket we have attributes for the entity, attributes means some value related to entity, as an example we can say (dept_id) is an attribute of dept entity. As we as an entity has our name,mobile_number as an attributes which describes the entity.

Next you can see emp_id (attribute) is present in works and emp_phone it means employee entity is having more than one relation as it is present in other 2 entities also. So it is called as one to many relationship.

By help of E-R diagram we are able to read which entity is connected to which entity and what attributes does the entity holds.


Related Solutions

Draw the ERD in Chen notation corresponding to the following spec: Sailors are identified by an...
Draw the ERD in Chen notation corresponding to the following spec: Sailors are identified by an sid, having a name, age, and rating Boats are identified by a bid and also have a name and a color. Sailors reserve boats on a given date. Every sailor reserves a boat at some time
Draw an ERD with the following information: You are a database consultant with Ace Software, Inc.,...
Draw an ERD with the following information: You are a database consultant with Ace Software, Inc., and have been assigned to develop a database for the Johnson Video Store in town. The owners have been keeping their records of videos and DVDs purchased from distributors and rented to customers in stacks of invoices and piles of rental forms for years. They have finally decided to automate their record keeping with a relational database. You sit down with the owners to...
Listed below is the relational database schema for an online store(SQL/Java): MEMBER(last_name, first_name, email, password, user,street,...
Listed below is the relational database schema for an online store(SQL/Java): MEMBER(last_name, first_name, email, password, user,street, city, state, zip, card_type, card_no, expiration, name_on_card) book_SALE(listing_no, seller, isbn, condition, price) ORDERS(order_no, buyer, order_date, tot) ITEM(order_no, listing_no) BOOK(isbn, title, author, edition, publisher, keywords) The bold attribute(s) in a relation is the primary key of that relation. The italized attributes in some relations denote foreign keys. The seller attribute in the book_SALE relation is a foreign key to the user attribute in the MEMBER...
Listed below is the relational database schema for an online store(SQL/Java): MEMBER(last_name, first_name, email, password, user,street,...
Listed below is the relational database schema for an online store(SQL/Java): MEMBER(last_name, first_name, email, password, user,street, city, state, zip, card_type, card_no, expiration, name_on_card) book_SALE(listing_no, seller, isbn, condition, price) ORDERS(order_no, buyer, order_date, tot) ITEMS(order_no, listing_no) BOOK(isbn, title, author, edition, publisher, keywords) The bold attribute(s) in a relation is the primary key of that relation. The italized attributes in some relations denote foreign keys. Create/Define the table.
Create the table users with four columns: user_id, email_address, first_name, and last_name. Make user_id as the...
Create the table users with four columns: user_id, email_address, first_name, and last_name. Make user_id as the primary key. For each column, use the data type specified in the schema.
In Python, write a function called user_name that takes two arguments, first_name and last_name and creates...
In Python, write a function called user_name that takes two arguments, first_name and last_name and creates a “user name” consisting of the first three letters of the first name concatenated with the first three letters of the last name.   You can assume ach name is at least three letters long. Return the new user name.    your results should yield something like these test cases. >>> print(user_name("bob", "taft")) bobtaf >>> >>> print(user_name("Ralph", "Waldo")) RalWal >>>
Draw a complete ERD of a database design to meet their needs First Urban Rescue (FUR...
Draw a complete ERD of a database design to meet their needs First Urban Rescue (FUR ) takes in cats and dogs that are no longer wanted in their old home , and tries to find them new homes . For each pet taken in by FUR , the pet is given a name if it doesn't already have one . The breed , name , approximate age , height , weight , and date arrived at FUR is recorded...
OWNER (ID, FIRST_NAME, MIDDLE_NAME, LAST_NAME, COMPANY_NAME, EMAIL_ADDRESS, PHONE_NUMBER,TYPE_OF_BUSINESS) PROPERTY (ID, STREET_NUMBER, STREET_NAME, CITY, PROVINCE, ZIP, TYPE,...
OWNER (ID, FIRST_NAME, MIDDLE_NAME, LAST_NAME, COMPANY_NAME, EMAIL_ADDRESS, PHONE_NUMBER,TYPE_OF_BUSINESS) PROPERTY (ID, STREET_NUMBER, STREET_NAME, CITY, PROVINCE, ZIP, TYPE, EMPLOYEE_ID, OWNER_ID) EMPLOYEE (ID, NAME, ADDRESS, PHONE, EMAIL, GENDER, POSITION, SALARY, MANAGER_ID, BRANCH_ID) BRANCH (ID, ADDRESS, PHONE) RENTOR (ID, NAME, ADDRESS, PHONE, EMAIL) RENTAL (ID, PROPERTY_ID, RENTER_ID, DATE_SIGNED, START_DATE, END_DATE) VIEWING (ID, PROPERTY_ID, RENTOR_ID, DATE) ADVERTISING (ID, NEWSPAPER_NAME, PROPERTY_ID, DATE_OF_AD) For the above use case for each entity identify their data types and if the fields are required (NOT NULL). Create the ERD document...
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...
Database Systems Lab Exercises Populate the Dept table with the following: Dept_Code Dept_Name ICS Information and...
Database Systems Lab Exercises Populate the Dept table with the following: Dept_Code Dept_Name ICS Information and Computer Science COE Computer Engineering SWE Software Engineering SE System Engineering Populate the Faculty table with the following: Faculty_Id Last_Name First_Name Dept 100234 Hashim Ahmad ICS 287234 Yoesuf Mohammed COE 767636 Amn Faisal ICS 557899 Hamzah Yusuf SE 345256 Lukman Mousa SWE 626277 Ali Isa COE 246266 Dawood Ageel SE Change the last name of Faculty Id = 767636 to "Ameen". Change the Dept...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT