Project Manual

For our project we have 6 tables. Every table has a primary key. The employee table keeps records of all the employees, the customer table gives the store members’ information, the supplier table gives a record of both stationary and books bought from the supplier, the stationary table shows what stationary item we sell, the books tables shows what books we sell, the invoice table keeps record for a confirm purchase.

Employee(Employee_ID, Fname, Lname, Gender, DoB, Phone_Num, Email, Salary)

Customer(Member_ID, Fname, Lname, Gender, DoB, Phone_Num, Email)

Supplier(Item_ID, Company_Name, Phone_Num, Item_Name, Item_Quantity, Item_Price, Total_Payment)

Stationary(Item_ID, Price, Stock_Num) Foreign Key(Item_Name) Reference(Supplier(Item_Name))

Book(Item_ID, ISBN, Author, Book_Price, Stock_Num) Foreign Key(Item_Name) Reference(Supplier(Item_Name))

Invoice(Invoice_Num, Equipment_Quantity, Book_Quantity, Total_Price, Invoice_Date) Foreign Key(Member_ID, Employee_ID, Item_ID, ISBN) Reference(Customer(Member_ID), Employee(Employee_ID), Stationary(Item_ID), Book(ISBN))

For our application, the user would be able to view each of the table content and also modify it if they want to, like adding, updating, and deleting.

Main Menu of The GUI
Modifying Employee Table
Viewing The Employee Table
Inserting A New Item To The Employee Table
Updating The Item’s Gender To FEMALE In The Employee Table
Deleting The Newly Inserted Item In The Employee Table
Viewing And Modifying The Customer Table
Inserting A New Item To The Customer Table
Updating The Item’s Last Name To John In The Customer Table
Deleting The Newly Inserted Item In The Customer Table
Viewing And Modifying The Supplier Table
Inserting A New Item In The Supplier Table
Updating The Item’s Total Payment To 4 In The Supplier Table
Deleting The Newly Inserted Item In The Supplier Table
Viewing And Modifying The Book Table
Inserting A New Item In The Book Table
Updating The Item’s Stock Num To 4 In The Book Table
Deleting The Newly Inserted Item In The Book Table

As for the rest of the tables it is practically the same as the others, the user can insert a new item, update an existing item, and delete an existing table.

This entry was posted in Database Systems. Bookmark the permalink.

Leave a Reply