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 in order to further simplify exercise
Step Use the OR REPLACE" clause after the CREATE VIEW statement used in exercise 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 lastnameupper desc
to the SQL making it part of the view definition.
Step Modify the SELECT statement from exercise by removing the ORDER BY clause. You should now be able to run:
SELECT
customerid
fulcustname
EROM
customernames
and get the same results in exercise
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
