0% found this document useful (0 votes)
9 views

Assignemnt 10

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

Assignemnt 10

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

National University of Computer & Emerging Sciences –FAST (FSD) MIS-Lab

CL310- MIS Lab

Lab Assignment 10
Section

Instructor Areeba
Waseem
Semester Spring 2024

Name

Roll#

FAST School of Management


Question 1. Build relationships

Employee_Table:

• Attributes:

Employee_ID (Primary Key)

• First_Name
• Last_Name
• Date_of_Birth
• Department
• Position
• Salary

Employee_Project_Table:

• Attributes:
• Project_ID (Primary Key)
• Employee_ID (Foreign Key referencing Employee_Table)
• Project_Name
• Project_Description
• Start_Date
• End_Date
• Status

Question 2. Build relationships.

1. Supplier_Table:
• Attributes:
• Supplier_ID (Primary Key)
• Supplier_Name
• Contact_Person
• Phone_Number
• Email
2. Inventory_Table:
• Attributes:
• Inventory_ID (Primary Key)
• Product_ID (Foreign Key referencing Product_Table)
• Supplier_ID (Foreign Key referencing Supplier_Table)
• Quantity_In_Stock
• Reorder_Level
• Unit_Cost
3. Shipment_Table:
• Attributes:
•Shipment_ID (Primary Key)
•Supplier_ID (Foreign Key referencing Supplier_Table)
•Shipment_Date
•Arrival_Date
•Shipping_Method
4. Payment_Table:
• Attributes:
• Payment_ID (Primary Key)
• Order_ID (Foreign Key referencing Order_Table)
• Payment_Date
• Payment_Amount
• Payment_Method
5. Customer_Address_Table:
• Attributes:
• Address_ID (Primary Key)
• Customer_ID (Foreign Key referencing Customer_Table)
• Address_Line1
• Address_Line2
• City
• State
• Postal_Code
• Country

Question 3. Build relationships.

1. Library_Member_Table:
• Attributes:
• Member_ID (Primary Key)
• First_Name
• Last_Name
• Address
• Email
• Phone_Number
2. Book_Table:
• Attributes:
• Book_ID (Primary Key)
• Title
• Author
• Genre
• Publisher
• Publication_Year
3. Borrowing_Record_Table:
• Attributes:
• Record_ID (Primary Key)
• Member_ID (Foreign Key referencing Library_Member_Table)
• Book_ID (Foreign Key referencing Book_Table)
• Borrow_Date
• Return_Date
• Fine_Amount
4. Library_Staff_Table:
• Attributes:
• Staff_ID (Primary Key)
• First_Name
• Last_Name
• Email
• Phone_Number
• Department
5. Library_Transaction_Table:
• Attributes:
• Transaction_ID (Primary Key)
• Staff_ID (Foreign Key referencing Library_Staff_Table)
• Member_ID (Foreign Key referencing Library_Member_Table)
• Book_ID (Foreign Key referencing Book_Table)
• Transaction_Type
• Transaction_Date
• Notes

You might also like