Lab 3 Convert To Relation DB

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

LAB 3

Convert to Relation DB

Ex1
ERD 1
Relational Database
- Employees (ID, Name, ManageID)
- FK: ManageID
ERD 2
RD:
- Flights (Flight#, FromCode, ToCode, Date)
 FK: FromCode, ToCode
- Locations (Code, Name)
ERD3
RD:
- Employees (ID, Name)
- Products (Code, Name, ProcessCode)
 FK: ProcessCode

ERD 4
RD:
- Employees (ID, Name)
- Products (Code, Name, Price, Date, EmployeeID)
 FK: EmployeeID
ERD 5
RD:
- Employee (Flight#, Date)
- Product (Code, Name)
- Customer (CustomerID, Name)
 Sale (Flight#,, Code, Quantity, CustomerID)
 FK: Flight#, Code, CustomerID
ERD 6
RD:
- Person (Code, Name)
- Teacher (PersonCode, Speciality)
 FK: PersonCode
- Student (PersonCode, Class)
 FK: PersonCode
Ex2

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