Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a script that includes an anonymous block that performs the following. prompts the user for a date in the future (SQL Plus commands) Calculates
Write a script that includes an anonymous block that performs the following.
prompts the user for a date in the future (SQL Plus commands)
Calculates the difference between that date and the current date (storing in an (appropriate INTERVAL data type)
Converts the INTERVAL results into a CHAR data type
Stores the number of years in a variable
Stores the number of months in a variable
Displays a message similar to the following
"There is a difference of 5 years and 3 months"
Step 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