You are on page 1of 27

ORACLE –LAB EXERCISES

A.RDBMS CONCEPTS:

Lab Exercise No: 1

Exercise Objective(s):

Exercise:
1) Draw an E-R diagram for the following application.
a. A training institute conducts up to 6 courses.

b. A course can have up to 30 students.

c. A student can enroll for a particular course only once. However a student can enroll for any number
of courses. The date of enrollment of the course is also maintained.

d. A course is described by its course-id, title and duration, course-id being the primary key.

e. A student is described by stud-id, name and address (house number, street or area, town, dist ,
city state). The stud-id is the primary key.

f. There is no student who has not taken any course. There are however courses for which there are
no students.

Recommended duration: 30 mins


Solution Guidance (if applicable):NA

Lab Exercise No: 2

Exercise Objective(s):

Exercise:

Draw an E-R diagram for the following application.


a. A company maintains details of its Employees like empId, name, date of birth)
b. Each Employee works for a single department.
c. There are two types of employee- Contract and Permanent. Contract employees work for a
period of time and are given temporary id. They are paid in per day basis. Permanent
employees are paid every month and they have permanent id.
d. Department is identified by deptId, name.
e. Each department has one of the employees as manager.
f. Company also needs the details of all the Employee’s Bank accounts.
g. Bank Account details are acctNumber, Type of account, Name of the Bank and Branch.

Recommended duration: 30 mins


Solution Guidance (if applicable):NA

Lab Exercise No: 3

Exercise Objective(s):

Exercise:
Draw an ER diagram for a bus company with following specifications:
a. A Country Bus Company owns a number of busses.
b. Each bus is allocated to a particular route, although some routes may have several busses.
c. Each route passes through a number of towns.
d. One or more drivers are allocated to each stage of a route.
e. A stage corresponds to a journey through some or all of the towns on a route.
f. Some of the towns have a garage where busses are kept and each of the busses are identified
by the registration number and can carry different numbers of passengers, since the vehicles
vary in size and can be single or double-decked.
g. Each route is identified by a route number and information is available on the average
number of passengers carried per day for each route.

Recommended duration: 30 mins


Solution Guidance (if applicable):NA

Lab Exercise No: 4

Exercise Objective(s):

Exercise:

Draw an ER diagram for application recording information about magazines, writers, and
subscribers, including:
a. For each magazine, its name, its writers, its editor, and the cities to which it is delivered are
to be maintained.
b. For each writer, their id, name is to be maintained. (Note: a writer can write for more than
one magazine, but can only edit, at most, one magazine.)
c. For each subscriber, their name, favorite writers, city or residence, and what magazines
they receive are to be maintained.
d. For all entities and relationships, select and specify keys.

Recommended duration: 30 mins


Solution Guidance (if applicable):NA

Lab Exercise No: 5

Exercise Objective(s):

Exercise:

Normalize the given table to 2NF and 3NF. (15mins)

Happy Home Super market deals with groceries, household items, stationary products and gift
items. They have announced a summer mela where, for every customer who holds a
membership with Happy Home, any three items can be taken for free. The total price of the three
items should be equal to or below Rs.1000. They record details of these free products given to
their member customers in a table as below.

Recommended duration: 30 mins


Solution Guidance (if applicable):NA
Lab Exercise No: 6

Exercise Objective(s):

Exercise:

Normalize the given table ensuring no data loss and data redundancy (15mins)

Recommended duration: 15 mins


Solution Guidance (if applicable):NA

Lab Exercise No: 7

Exercise Objective(s):

Exercise:
Good Work Cooperation is the Computer Programming Services industry in DALLAS, TX. It has
offices throughout North and South India.

 Employee fills in the following details at the time of joining : Name, Phone
number, Hiredate, Salary, Commission and Address. He/She is given a unique ID.
 Employee is then allocated a project under a LOB. He/She reports to a
Reporting Manager who is also an employee.
 Projects have a unique id, name, duration (in months), Project Manager who is
an employee. Every project is under a LOB.
 Every LOB has a unique ID, Name and multiple locations(address) from where they
operate.
Design an appropriate set of Normalized Relations to represent this information

Recommended duration: NA
Solution Guidance (if applicable):NA
B.SQL: An introduction

Lab Exercise No: 1

Exercise Objective(s):

Exercise:

1) Write query to do the following:


 Get all the details of the products whose price is greater than 500.
 Get the names of the product whose quantity is less than or equal to 20.
 Get the details of all the products with the column names as PID, PRODUCT_NAME,
QUANTITY and PRICE.
 Get the price of Shirts or T-Shirts where QTY is greater than 0

PID PNAME QTY PRICE

1 Shirt 10 600
2 T-Shirt 20 300
3 Kurti 30 350
4 Trousers 40 1000
5 Skirt 13 250
Recommended duration: 20mins
Solution Guidance (if applicable):NA

Lab Exercise No: 2

Exercise Objective(s):

Exercise:

Make sure that you have Student table with following data:

ID NAME ENROLL_DA BAT

1 Harini 10-JAN-13 JEE


2 Ramani 10-JAN-13 JEE
3 Ganga 10-FEB-13 C++
4 Mohan 10-FEB-13 ORL
5 Mohan 10-MAR-13 ORL
 Write query to

 get the names of student who enrolled in the month of February (don’t use any
oracle functions)

 get the name and enroll dates of the student whose id is not 5.

 Get the dates when the ORL batches where conducted this year.

Recommended duration: 15mins


Solution Guidance (if applicable):NA

C.SQL Statements

Lab Exercise No: 1

Exercise Objective(s):

Exercise:

Create a table Salary_Det with the following fields:


Column name Description Description Default

Empid Maximum of 30 Employee ID None


characters

Basic 6 digits before decimal Basic pay -1


and 2 after

Hra 5 digits before decimal House Rent -1


and 2 after

Doj DATE Date of Today’s date


Joining

Remarks VARCHAR2(20) Any Notes None

Recommended duration: 15mins


Solution Guidance (if applicable):NA

Lab Exercise No: 2

Exercise Objective(s):

Exercise:

.Create a new table called Salary similar to Salary_Det

*Change the table to add a default for Doj as 1st March 2010.
*Remove defaults for Basic and HRA.
*Remove the column “Remarks”.
*Add a column EName that can have hold at most 30 characters and Gender with *just
one character and set the default gender to ‘M’.
*Remove the Salary_Det table from the database.
*Change the table name Salary into Salary_Det.

Recommended duration: 15mins


Solution Guidance (if applicable):NA

Lab Exercise No: 3

Exercise Objective(s):

Exercise:
3.Salary_Det

Empid Ename Basic Hra Doj Gender


EA12345 Geetha S 50000 1000 10-7- F
2010
EA23456 Hari Prasad 40000 1000 31-6- M
2011
EA34567 Jayganesh 7-4-2009 M

SAP1234 Mohan V 6-12- M


2009
SAP2345 Sudha N 30000 750 F

 Enter the following records in the Salary_Det table using INSERT ALL.
 Create another table called Salary_DetF with similar structure as Salary_Det.
 Insert data with Gender as F into Salary_DetF.

Recommended duration: (30 mins)


Solution Guidance (if applicable):NA

Lab Exercise No: 4

Exercise Objective(s):

Exercise:

 Modify the Salary_Det table’s Hra such that it is 5% of Basic.


 Increase the Basic salary by Rs.5000 for women who joined before 2011.
 Delete records where Basic or Doj is null.

Recommended duration: (20 mins)


Solution Guidance (if applicable):NA

Lab Exercise No: 5

Exercise Objective(s):

Exercise:

Empid Ename Basic Hra Doj Gender


EA12345 Geetha S 55000 2750 10-7-2010 F

EA23456 Hari Prasad 40000 2000 31-6-2011 M

EA34567 Jayganesh 100000 5000 1-7-2013 M

SAP1234 Mohan V 6-12-2009 M

Using the Salary_Det table write the queries to find the following :
 Compute and display name and travel allowance which is 2% of Basic for the employees whose
basic is given. Display the result in sorted order of name and travel allowance.
 Count the number of employees who have the gross salary (basic+hra) greater than 60000.

D.SQL CONSTRAINTS

Lab Exercise No: 1

Exercise Objective(s):

Exercise:
Create a table called Leave_Policy with the following fields

Column Name Data type Constraints Default

Leave_ID Integer that can Primary key


hold upto 4
digits
Leave_Name Variable length
string
Days_Allowed_ In_Q1 Integer with 3 1
digits
Days_Allowed_ In_Q2 Integer with 3 1
digits
Days_Allowed_ In_Q3 Integer with 3 1
digits
Days_Allowed_ In_Q4 Integer with 3 1
digits
Carried_To_Next_Q I digit number 1
Lea Leave Days_ Days_ Days_Allo Days_A Carried_To_
ve_ _Name Allow Allow wed_ llowed_ Next_Q
ID ed_ ed_ In_Q3 In_Q4
In_Q1 In_Q2

1 Casual 3 3 3 3 n
leave

2 Sick 2 2 2 2 n
leave

3 Earned 1 1 1 1 y
Leave

4 Restric 2 2 1 1 n
ted
Leave

 Make Empid as primary key for the Salary_Det table that you created.

Recommended duration: 30 Mins

Solution Guidance (if applicable): NA

Lab Exercise No: 2

Exercise Objective(s):

Exercise:
2) Create a table called Employee_Leave(30mins)

Column Name Data type Constraints Default

Empid Maximum of Primary key


30 characters Foreign key :
Salary_Det

Leave_ID Integer that Primary key


can hold upto Foreign key:
4 digits Leave_Policy

Leave_date_from Date

Leave_date_to Date
Loss_of_Pay_Days Number(2) 0

Enter the following data:

Empi Leave Leave_date_ Leave_dat Loss_of_Pay_


d _ID from e_to Days

EA12 1 7-Jul-12 9-Jul-12 0


345
EA34 1 18-Jan-12 10-Feb-12 5
567
SAP2 3 8-Aug-12 12-Aug-12 0
345
EA23 3 12-Jan-12 15-Jan-12 0
456
EA34 2 10-Jan-12 13-Jan-12 0
567

Try entering data with the incorrect Leave_ID

EA34567 7 1-Jan-12 6-Jan-12 0

Recommended duration: 30 Mins

Solution Guidance (if applicable): NA

Lab Exercise No: 3

Exercise Objective(s):

Exercise:

For the tables Salary_det, Employee_leave and Leave_policy(30mins)


1. Salary_det table
a. Values in the DOJ Column and Ename is compulsory
b. Ensure that the Gender column to be checked either for Male (‘M’) or Female (‘F’)
2. Leave_policy table
a. Make the Leave name column as unique in the.
b. The carried_to_next_Q column should not exceed 10 days.
3. Insert some data and ensure that the constraints work.

Recommended duration: 30 Mins

Solution Guidance (if applicable): NA

E.SQL OPERATORS

Lab Exercise No: 1


Exercise Objective(s):

Exercise:
Write query to get the following details from the Salary_det table:

1. Update the data with the new basic to be 10% more than the current basic.

2. Display the details of the employees who name begin with alphabet between ‘A/a’ or ‘H/h’ .

3. List the details of the female employees who have joined after JUNE 2009.

4. Count the number of employees who have ID as beginning with ‘SAP’

5. Get all IDs of the employees whose have taken casual leave for more than 3 days at a stretch.

6. Get the leave details for the employees EA12345 and EA23456.

Recommended duration: 30mins

Solution Guidance (if applicable): NA

Lab Exercise No: 2

Exercise Objective(s):

Exercise:
Create another table Salary_Old with the following records

Sapid Ename Gender DName

EA12345 Geetha S F Sales

SAP1234 Mohan V M Sales

SAP2345 Sudha N F HR

ES4098 Rahul M Testing

SEM7132 Vijay R M Payroll

1. Display sapids and names from both the tables with no duplicates.

2. Display sapid of all female employees from both the tables.

3. Using the information available in both the tables find sapids of all the employees who
have joined after 2009 but not in HR department.
4. Display sapids and names in the form of “<<name>>(<<sapid>>) who are only in
Salary_Det table.

Recommended duration: 45 mins)


Solution Guidance (if applicable): NA

F.Oracle: Indexes

Lab Exercise No: 1

Exercise Objective(s):

Exercise:
 Create client_master table as given description:

 Ensure that there are no automatic creation of indexes.

 Create a index on City to tune query performance.

Field Data type Constraints

ClientNo NUMBER(10) Primary Key

ClientName VARCHAR(30)

Address VARCHAR(30)

City VARCHAR(30)

State VARCHAR(30)

Pincode NUMBER(10) UNIQUE

BalDue NUMBER(10,2)

Recommended duration: 20 mins


Solution Guidance (if applicable): NA

Lab Exercise No: 2

Exercise Objective(s): Creating Composite Index


Exercise:

 Alter client_master table to create composite index for the for the columns highlighted.

 Compare query statistics by changing leading positions of columns in query.

Field Data type Constraints

ClientNo NUMBER(10) Primary Key

ClientName VARCHAR(30)
Address VARCHAR(30)

City VARCHAR(30) Unique city and state

State VARCHAR(30)

Pincode NUMBER(10) Unique

BalDue NUMBER(10,2)

Recommended duration: 10 mins


Solution Guidance (if applicable): NA

Lab Exercise No: 3

Exercise Objective(s): Creating Composite Index

Exercise:

1. Using the Product, Orders and Items table write a query to find all the write a query to display
the name of the product and the count of the number of products that has been ordered.

2. Use Autotrace to record the details.

3. Create bitmap index for appropriate columns

4. Execute the query once again

5. Compare statistics shown by autotrace at end of the query

6. Write about differences you notify in both Execution plan and statistics.

Note : If you have more number of rows(in Thousands) then effect of indexing is shown better.

Recommended duration: 15 mins


Solution Guidance (if applicable): NA

Lab Exercise No: 4

Exercise Objective(s):

Exercise:
 Drop the index created in the last exercise and recreate the index based on the join condition.

 Re-execute the query and analyze the result.

Recommended duration: 10 mins


Solution Guidance (if applicable): NA

Lab Exercise No: 5

Exercise Objective(s):

Exercise:
 Create UNIQUE INDEX on the Pname column of the product table.( if you have a
unique constraint define on it, drop it).

 Now try to insert a new record using same name product name that was inserted before.

Recommended duration: 15 mins)


Solution Guidance (if applicable): NA

Lab Exercise No: 6

Exercise Objective(s):

Exercise:

Salary_Det

Empid Ename Basic Hra Doj Gender

EA12345 Geetha S 55000 2750 10-7-2010 F

EA23456 Hari Prasad 40000 2000 31-6-2011 M

EA34567 Jayganesh 100000 5000 1-7-2013 M

SAP1234 Mohan V 6-12-2009 M

 You frequently need to query and find out the names of employees who have the gross salary
(basic+hra) greater than 60000.
 Create an index to improve query performance.

 Check if the performance has indeed improved.

Recommended duration: 10mins


Solution Guidance (if applicable): NA

G.Oracle: Views

Lab Exercise No: 1

Exercise Objective(s):

Exercise:
 Create a view that has data joining the 2 tables Salary_Det and Employee_Leave using
natural join (refer slide 31 of 2.3 SQL Constraints)

 Write query on the view to get names of all the employee who have taken leave id 1.

 From the view get the names of the employee who id begin with EA and who do not have loss
of pay.

Recommended duration: 15 mins


Solution Guidance (if applicable): NA

Lab Exercise No: 2

Exercise Objective(s):

Exercise:
 Create a view with empid, empname, basic, hra and gross (basic+hra) and net salary (gross –
loss of pay days * basic) using Salary_set and Employee_Leave tables.

 Get employees whose gross salary and net salary are different

 Get employees who earn above 40000.

 Use INSERT command to insert all data in the above view.

 Can you insert data?

Recommended duration: 15 mins


Solution Guidance (if applicable): NA

Lab Exercise No: 3

Exercise Objective(s):

Exercise:
 Create a view EA_SAL with all the details in the salary_det table and computed gross
(basic+hra) column for employee who id begin with ‘EA’

 Update the basic and HRA using views as shown below.

 Insert a new row with ID SAP3456 and other details.

 Delete the above row.

Recommended duration: 15 mins


Solution Guidance (if applicable): NA

Lab Exercise No: 4

Exercise Objective(s):

Exercise:
1. Make the EA_SAL view updatable only where the view conditions is satisfied.

2. Using the above view

1. Insert data with SapId as EA5555

2. Update SapId to EA4444 data matching the view conditions.

3. Delete data that had SapId EA4444 and SAP1234

Recommended duration: 15 mins


Solution Guidance (if applicable): NA

Lab Exercise No: 5

Exercise Objective(s):

Exercise:
 Create a view with Employee name and date of joining from Salary_Det table. Make sure
that Employee names are unique and not null.
 Test the view by adding duplicate Employee name

 Test the view by adding fresh Employee name and date of joining.

 Drop the constraint.

Recommended duration: 15 mins


Solution Guidance (if applicable): NA

H.Oracle: Sequences

Lab Exercise No: 1

Exercise Objective(s):

Exercise:
 Create an ascending sequence ASC_Seq starting with 1001 and maximum it go is 9999
after reaching 9999 restarts with 1001.

Creating a descending sequence DSC_Seq starting with 9999 and that end with 0 and does not
cycle

Recommended duration: 20 mins


Solution Guidance (if applicable): NA

Lab Exercise No: 2

Exercise Objective(s):
Exercise:

 The Salary_Det tables requires generation of sequences from 00001 to 90000. The 2
lettered Business Unit name will be given and this has to be prepended to the sequence.

 Create a sequence Emp_Seq and use this in INSERT statement to achieve this.

SQL> SELECT LPAD(10,5,'0') FROM DUAL;

Recommended duration: 30 mins


Solution Guidance (if applicable): Oracle function LPAD can be used to add leading 0s. For instance,

Lab Exercise No: 3

Exercise Objective(s):

Exercise:
 Modify the sequence ASC_Seq created in previous exercise and ensure that it now
increments by 5.

 Change the Emp_Seq so to count up to 99999 in place of 90000.

 Make the last number in sequence of DSC_Seq to 1 instead of 0 and allow DSC_Seq to
start again with maximum value after reaching to 1.

Recommended duration: 20mins


Solution Guidance (if applicable): NA

I.Oracle: Joining Tables


Lab Exercise No: 1

Exercise Objective(s):

Exercise:
 Using Salary_Det , Leave_policy and Employee_Leave tables, write a query to get the names
and Employee Ids of the employees who have taken casual leave in from the January 2012 to
September 2012.
 Rewrite the same query using NATURAL JOIN.
Note: NATURAL JOIN does not need a qualifier!

Recommended duration: 20mins


Solution Guidance (if applicable): NA

Lab Exercise No: 2

Exercise Objective(s):

Exercise:
1. Make sure that all data in the Employee_Leave is for the year 2012.
2. Assuming that employees can take EL(Earned Leave) only once during a quarter
(meaning that there will be only one entry per quarter in the table for EL), write a query to
get the total number of EL left for an employee who have taken Earned Leave in the 1st
quarter (1st JAN- 30th APR). Print Employee ID, Name and EL left.

Leave_policy

Employee_Leave

Recommended duration: 20mins


Solution Guidance (if applicable): NA

Lab Exercise No: 3

Exercise Objective(s):

Exercise:

 Write a query to get all the employees with the details of the leave if they have taken.
 Add a manager column in the Salary_Det table and alter the data as shown below:

Write a query to get the names and salaries of all the managers.
Find all the employees who are not managers
Recommended duration: 30 mins
Solution Guidance (if applicable): NA

Lab Exercise No: 4

Exercise Objective(s):

Exercise:
Create a view to get all the names and ids of all employees with details of the leave that they have taken

Recommended duration: 10 mins


Solution Guidance (if applicable): NA

Lab Exercise No: 5

Exercise Objective(s):

Exercise:

 Look at the tables below. What do you make out of the tables?

StuSdIeDnt SNAME DOB SEInDrollmenCt IDEDATE

1 Mary Molle 12-JAN-01 1 210-JUL-06


John
2 July Lilly Lolly Bill Will15-AUG-02 2 210-JUL-06
3 21-SEP-01 3 120-SEP-06
4 22-DEC-05 4 101-APR-06
1 120-SEP-06
Course

CIDCNAME DURATION

1 Java 52
2 RDBMS 30
3 .NET 35

 Create the tables with appropriate constraints.

 Populate with the data as shown.

 Write queries for the following:

(Note that all the queries must be written based on what is covered so far. Constructs/functions that are
not covered so far should not be used.)

1. Find sids and names of the students have enrolled for at least one course. Make sure there
are no duplicate rows. Write this query using all the possible kinds of join that you learnt.

2. Find the end date for courses in the enrollment table if the course duration per day is 7 hours.

3. Find the names of the students and the names of the course which they have enrolled for.

4. Find the names of the courses that stared in July.

5. Find the names of the students who enrolled in last quarter.

6. Find names of all students who have enrolled for some courses and whose age above 20.
(Hint: Recall that SYSDATE gives the current system sdate).

7. Find the sids and names of all the students who have taken Java or RDBMS courses.

8. Find the sids of all the students who have taken both Java and RDBMS courses.

9. Find the sids of all the students who have taken Java but not RDBMS courses.

Recommended duration: 2hrs


Solution Guidance (if applicable): NA
E.Oracle:Functions

Lab Exercise No: 1

Exercise Objective(s): Types of SQL Functions

Exercise:

 Ensure that you have data that is shown above in the Salary_Det table.
1. Extract the first and the last name of the employee from the Ename.
2. Display all the employee who joined in 2011.
3. For the Empid that have SAP, make the SAP to SP
4. For the Empid that do not have length 7, add 0s at the end to make the length as 7.
(Use RPAD to do this that automatically adds the required number of 0s instead of just
concatenating a single 0).
5. Display the code name for the employees using the first and the last character of the
first and last name.

Recommended duration: 30 Mins

Solution Guidance (if applicable): NA

Lab Exercise No: 2

Exercise Objective(s): Date Functions

Exercise:

1. Display the last day of the current month.


2. Display the current date in the form: FIFTH of JULY, TWENTY THIRTEEN
3. Using Salary_Det table
1. Get the experience in years for the employees
2. Display the DOJ in DD-MM-YYYY format
3. Compute the tax for the employees using the Tax table (created in the Joins
session) and display in comma separated format with 2 digits after decimal

Recommended duration: 30 Mins

Solution Guidance (if applicable): NA

Lab Exercise No: 3

Exercise Objective(s): Date Functions


Exercise:
 Use salary-set table to write a query to categorize employees based on the salary
they draw :
Salary <=10000  Junior
Salary>10000 and <= 30000 
Senior Salary above 30000 
Manager
 Use Leave_Policy table to display employee id, number of leave days and if the leave id
is 1 or 3 reason should be displayed as “Normal Leave”, if it is 2 it should be displayed
as “Health Issues” and if it is 4 it should be displayed as “Festival”. (Use decode)

Recommended duration: 20 Mins

Solution Guidance (if applicable): NA

Lab Exercise No: 4

Exercise Objective(s): How to retrieve duplicate records based on particular column

Exercise:

Salary_Det

Leave_Policy
Employee_Leave

Using the Salary_Det, Leave_Policy and Employee_Leave tables find

 Number people in department EA and SAP

 Average salaries of Male and female employees

 Number of people who took leave month-wise in the year 2012.

Recommended duration: NA

Solution Guidance (if applicable): NA

Lab Exercise No: 5

Exercise Objective(s):

Exercise:

 List the over all running total and department-wise (SAP or EA) total for salaries for
employees from Salary_Det table.

Recommended duration: NA

Solution Guidance (if applicable): NA


Lab Exercise No: 6

Exercise Objective(s):

Exercise:

 List the name of the employees, date of joining and the name of the person who joined
after the current employee.

Recommended duration: NA

Solution Guidance (if applicable): NA

K.SUBQUERIES

Lab Exercise No: 1

Exercise Objective(s):

Exercise:
Salary_Det

Get the names of the employees who have salaries more than the average salary of the person in the
“EA” department.

Get all the employees who are in the same department as “'Geetha S”.

Tax

 Find all the people who pay the same tax as Hari Prasad.

Recommended duration: NA
Solution Guidance (if applicable): NA

Lab Exercise No: 2


Exercise Objective(s):

Exercise:

 Find all the employees who earn more than people in “SAP” department.

 Find first 3 employees who are the highest tax payers.

Recommended duration: NA
Solution Guidance (if applicable): NA

Lab Exercise No: 3

Exercise Objective(s):

Exercise:
 Add a manager column in the Salary_Det table and alter the data as shown below (same as
done in slide 25 of the join session)

 Find the names of people who joined after Mohan V but before Geetha S.

 Find the name of the employee who has the 3rd highest tax payer.

 Find the number of employees who are not managers.

Leave_policy
Employee_Leave

 Write queries to update Loss of pays

days For quarter 1 (JAN, FEB, MARCH):

Days_Allowed_In_Q1 -(Leave_date_to –Leave_date_From)

Recommended duration: NA
Solution Guidance (if applicable): NA

You might also like