Conversion Functions
Conversion Functions
SELF TEST
The following questions will measure your understanding of the material presented in this chapter.
Read all the choices carefully because there may be more than one correct answer. Choose all the
correct answers for each question.
LAB QUESTION
Using SQL Developer or SQL*Plus, connect to the OE schema and complete the following tasks.
As part of a new marketing initiative, you are asked to prepare a list of customer birthdays that occur
between two days ago and seven days from now. The list should retrieve rows from the CUSTOMERS
table which include the CUST_FIRST_NAME, CUST_LAST_NAME, CUST_EMAIL, and DATE_
OF_BIRTH columns in ascending order based on the day and month components of the DATE_OF_
BIRTH value. An additional expression aliased as BIRTHDAY is required to return a descriptive mes-
sage based on the following table. There are several approaches to solving this question. Your approach
may differ from the solution described here.