Question: Now that you have your view working, will re - create the query from SQL Review, exercise 4 . If you remember, the results were
Now that you have your view working, will recreate the query from SQL Review, exercise If you remember, the results were not in alphabetical order because Oracle sorts lower case letters before upper case letters. That is why both von Sydo and de Niro were showing before Young when sorted in descending order. Obviously Young should have been first up in descending order.
For this exercise, use the view you created in exercise to fix the original exercise from the SQL Review homework. Your query should use the customernames view as the 'table' to select from, and return the same two fields as the original exercise, customerid and fullcustname fields, but this time sort on the lastnameupper name field so the results are ordered as expected.
The results should look like this:
CUSTOMER ID
FULL CUST NANE
voung, kcley
YoLng, Klbar a us
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
