Supervisor_Id Numeric ID of the Supervisor Primary Key
Supervisor_name Text Name of the Not Null Supervisor Supervisor_address Text Address of the Not Null Supervisor Supervisor_mobile Numeric Mobile of the Not Null Supervisor Supervisor_email Text Email of the Not Null Supervisor Mechanic_Id Numeric ID of the Mechanic Foreign Key Helper_Id Numeric ID of the Helper Foreign Key Acc_Id Numeric ID of the Accounting Foreign Key Department InDep_Id Numeric ID of the Inventory Foreign Key Department
Column Name Data Type Description Constraint
Mechanic_Id Numeric ID of the Mechanic Primary Key Mechanic_name Text Name of the Not Null Mechanic Mechanic_address Text Address of the Not Null Mechanic Mechanic_mobile Numeric Mobile of the Not Null Mechanic Mechanic_email Text Email of the Null Mechanic Mechanic_Pass Text Password of the Not Null Mechanic Helper_Id Numeric ID of the Helper Foreign Key Car_Id Numeric ID of the Car Foreign Key
Column Name Data Type Description Constraint
Helper_Id Numeric ID of the Helper Primary Key Helper_name Text Name of the Helper Not Null Helper_address Text Address of the Helper Null Helper_mobile Numeric Mobile of the Helper Not Null Helper_email Text Email of the Helper Null Column Name Data Type Description Constraint Car_Id Numeric ID of the Car Primary Key Car_Company Text Company of the Car Not Null Car_Cus_Id Numeric Customer Id Not Null Car_Num Numeric Number of the Car Not Null Car_Type Text Type of the Car Null
Column Name Data Type Description Constraint
Acc_Id Numeric ID of the Accounting Primary Key Department Acc_Payable Text current liability that Not Null has to be paid Acc_Payroll Text Usage of both Not Null expenses and liabilities
Column Name Data Type Description Constraint
InDep_Id Numeric ID of the Inventory Primary Key Department Order_Id Numeric ID of the orders Not Null Deliveries Number Overall Deliveries Not Null sales Number Overall Sales of the Not Null day
Nhóm: Thành viên: Trần Tiến Dũng (Nhóm trưởng) -B17DCCN165 Lâm Quốc Khánh Lê Quang Đạo Lớp:E17CN2 Đề tài: Xây dựng hệ CSDL phân tán quản lý ứng dụng smartphones