Part V: SQL (10 questions, each 5 points): Given the ERD, please answer the questions using SQL
34. For every boat, list the marina number, slip number, boat name, owner number, owner's first and last name.
35. For every completed or open service request for routine engine maintenance, list the slip ID, Description, and status. (description of the serviceRequest is ‘routine engine maintenance’)
36. For every service request for routine engine maintenance, list the slip ID, marina number, slip number, estimated hours, spent hours, owner number, and owner's last name.
37. List the first and last names for all owners who have a boat in a 40-foot slip. (Use the IN operator in your formulation)
38. List the first and last names for all owners who have a boat in a 40-foot slip. (Use the EXISTS operator in your formulation)
39. List the names of any pair of boats that have the same type. For example, one pair would be Anderson II and Escape, because the boat type for both boats is Sprite 4000. The first name listed should be the major sort key and the second name should be the minor sort key. (This is a SELF JOIN)
40. List the boat name, owner number, owners last and first name for each boat in marina 1.
41. List the boat name, owner number, owners last and first name for each boat in marina 1, but only list boats in 30-foot slips.
42. List the marina number, slip number, and boat name for boats whose owner lives in Glander Bay OR whose type is Sprite 4000.