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 re-create the query from SQL Review, exercise 4. 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 3 to fix the original exercise 4 from the SQL Review homework. Your query should use the customer_names view as the 'table' to select from, and return the same two fields as the original exercise, customer_id and full_cust_name fields, but this time sort on the last_name_upper name field so the results are ordered as expected.
2
The results should look like this:
CUSTOMER ID
FULL CUST NANE
45= voung, k1cley
766 YoLng, Kl\bar (a) us
 Now that you have your view working, will re-create the query

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!