Customers: ID First - Name Last - Name Middle - Name Phone - Number
Customers: ID First - Name Last - Name Middle - Name Phone - Number
ID
First_name
Last_name
Middle_name
Phone_number
Field Name
ID
First_name
Last_name
Middle_name
email
Phone_number
Address
Field Name
ID
Product_name
description
Stock
Price
Category_id
Field Name
ID
Company_name
Phone_number
Field Name
ID
Category_name
Description
Field Name
ID
First_name
Last_name
Middle_name
Password
Username
Phone_number
CUSTOMERS
Data Type Field Length Constraint Description
int 11 Primary Key Identification of the customer
varchar 50 Not null First name of the customer
varchar 50 Not null Last name of the customer
varchar 50 Not null Middle name of the customer
int 11 Not null Contact number of customer
EMPLOYEES
Data Type Field Length Constraint Description
int 11 Primary Key Identification of the employee
varchar 50 Not null First name of the employee
varchar 50 Not null Last name of the employee
varchar 50 Not null Middle name of the employee
varchar 50 Not null email of the employee
int 11 Not null Contact number of the employee
varchar 50 Not null Address of the employee
PRODUCTS
Data Type Field Length Constraint Description
int 11 Primary Key Identification of the product
varchar 50 Not null Name of the product
varchar 100 Not null Description fo the product
int 50 Not null Stock of the product
int 50 Not null Price of the product
int 11 Foreign Key Category ID of the product
SUPPLIER
Data Type Field Length Constraint Description
int 11 Primary Key Identification of the supplier
varchar 50 Not null Company name of the supplier
int 50 Not null Contact number of the supplier
CATEGORY
Data Type Field Length Constraint Description
int 2 Primary Key Category ID
varchar 50 Not null Name of the Category
varchar 100 Not null Category description
USERS
Data Type Field Length Constraint Description
int 11 Primary Key Identification of the user
varchar 50 Not null First name of the user
varchar 50 Not null Last name of the user
varchar 50 Not null Middle name of the user
varchar 50 Not null Password of the user
varchar 50 Not null Username of the user
int 11 Not null Contact number of the user
Description
Identification of the customer
First name of the customer
Last name of the customer
Middle name of the customer
Contact number of customer
Description
Identification of the employee
First name of the employee
Last name of the employee
Middle name of the employee
email of the employee
Contact number of the employee
Address of the employee
Description
Identification of the product
Name of the product
Description fo the product
Stock of the product
Price of the product
Category ID of the product
Description
Identification of the supplier
Company name of the supplier
Contact number of the supplier
Description
Category ID
Name of the Category
Category description
Description
Identification of the user
First name of the user
Last name of the user
Middle name of the user
Password of the user
Username of the user
Contact number of the user