Question: Write a query to display the patron ID, full name (first and last), and patron type for all patrons. Sort the results by patron type

Write a query to display the patron ID, full name (first and last), and patron type for all patrons. Sort the results by patron type and then by last name and first name. Ensure that all sorting is case insensitive (Figure P7.94). (50 rows) 

Figure P7.94 Sorted Patrons with Full Names PAT ID NAME 1165 Cedric Baldwin 1170 Cory Barry 1160 robert

Figure P7.94 Sorted Patrons with Full Names PAT ID NAME 1165 Cedric Baldwin 1170 Cory Barry 1160 robert carter PAT_TYPE 1166 Vera Alvarado 1202 Holly Anthony 1180 Nadine Blair Faculty faculty Faculty 1183 Helena Hughes Faculty 1161 Kelsey Koch Faculty 1167 Alan Martin FACULTY Student Student STUDENT

Step by Step Solution

3.49 Rating (159 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Here is an SQL query to display the patron ID full name first ... View full answer

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 Database Systems Design Implementation Questions!