Question: For this exercise we are going to modify the view created in exercise 2 in order to further simplify exercise 3 . Step 1 -

For this exercise we are going to modify the view created in exercise 2 in order to further simplify exercise 3.
Step 1- Use the "OR REPLACE" clause after the CREATE VIEW statement used in exercise 2. This will allow us to replace the view definition with a new view definition (new SQL query). The new view should sort the results in descending order in the view itself. Do this by adding:
ORDER BY last_name_upper desc
to the SQL making it part of the view definition.
Step 2- Modify the SELECT statement from exercise 2 by removing the ORDER BY clause. You should now be able to run:
SELECT
customer_id,
ful1_cust_name
EROM
customer_names
and get the same results in exercise 3.
 For this exercise we are going to modify the view created

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!