Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

SQL ER Diagrams For the scenario below: Create an ER diagram, illustrating the entities, their attributes, the relationship among entities, and the cardinalities of the

SQL ER Diagrams

For the scenario below:

Create an ER diagram, illustrating the entities, their attributes, the relationship among entities, and the cardinalities of the entities

Translate the ER diagram into a set of tables, indicating clearly the attributes of each table, the primary key of each table, and the foreign keys that are used to implement the relationships.

Time Cards

The company wants to digitize their time cards. You are asked to design the database for submitting and approving time cards.

Each timecard should have a unique id, hours worked, date submitted, and status. The status is either approved, not approved, or pending.

Each employee has a unique id, name and address, and method of payment: either direct deposit or physical check.

Each employee submits a time card every pay period (i.e., in 1 year, they will submit multiple time cards).

Each employee is associated with exactly one manager; each manager is in charge of multiple employees.

Each manager has a unique id and a name.

Each manager approves time cards for multiple employees; the manager approves timecards only for which the manager is in charge.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advances In Databases And Information Systems 25th European Conference Adbis 2021 Tartu Estonia August 24 26 2021 Proceedings Lncs 12843

Authors: Ladjel Bellatreche ,Marlon Dumas ,Panagiotis Karras ,Raimundas Matulevicius

1st Edition

3030824713, 978-3030824716

More Books

Students also viewed these Databases questions