Question: ER to relational mapping ============== Q2 how to compares two dates and returns the difference in apex?! using booking table you have 3 tables call

ER to relational mapping
ER to relational mapping ============== Q2 how to compares two dates and
==============
Q2
how to compares two dates and returns the difference in apex?!
using booking table
returns the difference in apex?! using booking table you have 3 tables
call booking - cars - cars_category ========== Q1) create table call RENT
and select car regestration number and category number from Cars table and
select cost per day from cars category number make cars category join
cars table On cars category.cat_number = cars.cat_number ============== Q2) create table call
Results and select car regestration number from booking and display the cost
you have 3 tables call
booking - cars - cars_category
==========
Q1)
create table call RENT and select car regestration number and category number from Cars table
and select cost per day from cars category number
make cars category join cars table
On cars category.cat_number = cars.cat_number
==============
Q2)
create table call Results and
select car regestration number from booking
and display the cost per day from Rent table to compare the diffrent from two dates (booking date, return date)

Table: CARS (?) \begin{tabular}{|l|l|l|l|l|l|} \hline \multicolumn{1}{|c|}{ Column } & Data Type & Length & Precision & Scale & Nullable \\ \hline CAR_REGESTRATION_NUM & NUMBER & 22 & & & No \\ \hline C_TYPE & VARCHAR2 & 30 & & & Yes \\ \hline MODEL_YEAR & NUMBER & 22 & & & No \\ \hline BRAND_NAME & VARCHAR2 & 20 & & & No \\ \hline MILEAGE & NUMBER & 22 & & & No \\ \hline CAT_NUM & NUMBER & 22 & & & Yes \\ \hline \end{tabular} Table: CARS (?) \begin{tabular}{|l|l|l|l|l|l|} \hline \multicolumn{1}{|c|}{ Column } & Data Type & Length & Precision & Scale & Nullable \\ \hline CAR_REGESTRATION_NUM & NUMBER & 22 & & & No \\ \hline C_TYPE & VARCHAR2 & 30 & & & Yes \\ \hline MODEL_YEAR & NUMBER & 22 & & & No \\ \hline BRAND_NAME & VARCHAR2 & 20 & & & No \\ \hline MILEAGE & NUMBER & 22 & & & No \\ \hline CAT_NUM & NUMBER & 22 & & & Yes \\ \hline \end{tabular} Table: CARS (?) \begin{tabular}{|l|l|l|l|l|l|} \hline \multicolumn{1}{|c|}{ Column } & Data Type & Length & Precision & Scale & Nullable \\ \hline CAR_REGESTRATION_NUM & NUMBER & 22 & & & No \\ \hline C_TYPE & VARCHAR2 & 30 & & & Yes \\ \hline MODEL_YEAR & NUMBER & 22 & & & No \\ \hline BRAND_NAME & VARCHAR2 & 20 & & & No \\ \hline MILEAGE & NUMBER & 22 & & & No \\ \hline CAT_NUM & NUMBER & 22 & & & Yes \\ \hline \end{tabular} Table: CARS (?) \begin{tabular}{|l|l|l|l|l|l|} \hline \multicolumn{1}{|c|}{ Column } & Data Type & Length & Precision & Scale & Nullable \\ \hline CAR_REGESTRATION_NUM & NUMBER & 22 & & & No \\ \hline C_TYPE & VARCHAR2 & 30 & & & Yes \\ \hline MODEL_YEAR & NUMBER & 22 & & & No \\ \hline BRAND_NAME & VARCHAR2 & 20 & & & No \\ \hline MILEAGE & NUMBER & 22 & & & No \\ \hline CAT_NUM & NUMBER & 22 & & & Yes \\ \hline \end{tabular}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!