0% found this document useful (0 votes)
189 views2 pages

Lab 3 Converting ERDs To Tables

The document provides instructions to convert an entity-relationship diagram into related database tables. It includes an ERD of the Hourglass timekeeping database and lists the table definitions to be created from the ERD, including AssignedTo, Clients, Contracts, ContractTypes, Countries, Employees, Offices, Projects, Regions, and WorkHours tables.

Uploaded by

Purva Sawant
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
189 views2 pages

Lab 3 Converting ERDs To Tables

The document provides instructions to convert an entity-relationship diagram into related database tables. It includes an ERD of the Hourglass timekeeping database and lists the table definitions to be created from the ERD, including AssignedTo, Clients, Contracts, ContractTypes, Countries, Employees, Offices, Projects, Regions, and WorkHours tables.

Uploaded by

Purva Sawant
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

CSIS 325 – Lab 3 (ERD to Table Conversions)

Luis Rodriguez Lopez

Instructions:
In this assignment, you will convert an Entity-Relationship diagram into a set of related tables.

Given the following ERD, write the table definitions for the entities displayed below. You do not have to
indicate data types nor “not null” constraints in this lab. Use the format TableName ( attribute,
attribute…attribute). Designate primary keys with an underline and foreign keys with a broken
underline.

To illustrate, the Regions and Countries table definitions have been created for you below the diagram.
Type your answers in this document and upload it to the appropriate Blackboard assignment link.

Note that you should read the “Table Conversions Explained” document in your Reading & Study folder.
I created it to help you better understand how ERDs will ultimately be transformed into real tables.

ERD for the Hourglass timekeeping database

This study source was downloaded by 100000868115672 from CourseHero.com on 06-22-2023 21:06:53 GMT -05:00

https://www.coursehero.com/file/119860548/Lab-3-Converting-ERDs-to-Tables-docx/
Example:

Regions (RegionID, RegionName)


Countries(CountryID, CountryName, RegionID)

 AssignedTo(EmpID, ProjectID, StartDate, EndDate)

 Clients (ClientID, LegalName, ClientName, CountryID)

 Contracts (ContractID, ContractDesc, ClientID, ContractTypeID)

 ContractTypes (ContractTypeID, ContractTypeName)

 Countries (CountryID, CountryName, RegionalID)

 Employees (EmpID, FirstName, Lastname, Email, Salary, OfficeID, CountryID, SupervisorID)

 Offices (OfficeID, OfficeName, CountryID)

 Projects (ProjectID, ProjectName, ContractID, EmpID)

 Regions (RegionID, RegionName)

 WorkHours(Day, Month, Year, EmpID, ProjectID, HoursWorked)

This study source was downloaded by 100000868115672 from CourseHero.com on 06-22-2023 21:06:53 GMT -05:00

https://www.coursehero.com/file/119860548/Lab-3-Converting-ERDs-to-Tables-docx/
Powered by TCPDF (www.tcpdf.org)

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy