Answered step by step
Verified Expert Solution
Question
1 Approved Answer
can someone help me create a database on SQL based on these images? begin{tabular}{|l|l|} hline multicolumn{2}{|c|}{ Vehicle } hline PK & Plate num VarChar(17)
can someone help me create a database on SQL based on these images?
\begin{tabular}{|l|l|} \hline \multicolumn{2}{|c|}{ Vehicle } \\ \hline PK & Plate num VarChar(17) NOT NULL \\ \hline & Manufacturer VarChar(15) NOT NULL \\ \hline & Age_inMonth INT NOT NULL \\ \hline \end{tabular} \begin{tabular}{|l|l|l|l|} \hline \multicolumn{3}{|c|}{ DeliveryStaff } \\ \hline PK & License_num INT NOT NULL \\ \hline FK1 & Staff_ID INT NOT NULL \\ \hline FK2 & Staff_name VarChar(25) NOT NULL \\ \hline Staff_ID INT NOT NULL \\ \hline Staff_name VarChar(25) NOT NULL \\ \hline Staff_Tele VarChar(10) NOT NULL \\ \hline \end{tabular} \begin{tabular}{|l|l|} \hline \multicolumn{2}{|c|}{ Event } \\ \hline PK & Event_1D INT NOT NULL \\ \hline & Event_name VarChar(50) NOT NULL \\ & Event_date Date NOT NULL \\ & Event_Time Time NOT NULL \end{tabular} Table Instance Chart: Staff Table Instance Chart: Type Table Instance Chart: DeliveryStaff Table Instance Chart: Product Table Instance Chart: Vehicle Table Instance Chart: Customer Table Instance Chart: Event Table Instance Chart: Order \begin{tabular}{|l|l|} \hline \multicolumn{2}{|c|}{ Vehicle } \\ \hline PK & Plate num VarChar(17) NOT NULL \\ \hline & Manufacturer VarChar(15) NOT NULL \\ \hline & Age_inMonth INT NOT NULL \\ \hline \end{tabular} \begin{tabular}{|l|l|l|l|} \hline \multicolumn{3}{|c|}{ DeliveryStaff } \\ \hline PK & License_num INT NOT NULL \\ \hline FK1 & Staff_ID INT NOT NULL \\ \hline FK2 & Staff_name VarChar(25) NOT NULL \\ \hline Staff_ID INT NOT NULL \\ \hline Staff_name VarChar(25) NOT NULL \\ \hline Staff_Tele VarChar(10) NOT NULL \\ \hline \end{tabular} \begin{tabular}{|l|l|} \hline \multicolumn{2}{|c|}{ Event } \\ \hline PK & Event_1D INT NOT NULL \\ \hline & Event_name VarChar(50) NOT NULL \\ & Event_date Date NOT NULL \\ & Event_Time Time NOT NULL \end{tabular} Table Instance Chart: Staff Table Instance Chart: Type Table Instance Chart: DeliveryStaff Table Instance Chart: Product Table Instance Chart: Vehicle Table Instance Chart: Customer Table Instance Chart: Event Table Instance Chart: OrderStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started