Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

25. Complete and print your statements and results by spooling your file (with e

ID: 3708212 • Letter: 2

Question

25.       Complete and print your statements and results by spooling your file (with echo on from Oracle if available).

List the CustID, CustFName, CustLName, and CustPhone for all “loyalty” customers. Show the phone number formatted as ‘(###) ###-####’ and use the following column headings: CustID, FirstName, LastName, Phone.

ResDetail Customer CustlD CustFName CustLName CustPhone CustType LoyaltylD Reservation ResID CheckinDate CheckOutDate CustID AgentID ReslD Room CustType CustType CustTypeDesc RoomNum RateType RateAmt RoomType Agent AgentlD AgentFName AgentLName AgentType RateType RateType RateTypeDesc RoomType RoomType RoomTypeDesc AgentType AgentType AgentTypeDesc

Explanation / Answer

SELECT CustID as CustID, CustFName as FirstName, CustLName as LastName,

FROM CUSTOMER

WHERE CustType = 'loyalty';

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote