Guest details and Total Charges paid Display guest details who paid total charges RS.50000 and above. Write a query to fetch Guest id, Guest name and Sum of total charges. Give alias name to total...


Guest details and Total Charges paid<br>Display guest details who paid total charges RS.50000 and above. Write a query to fetch Guest id, Guest name and Sum of total charges. Give alias name to total charges as TOTALPAID. Sort the result by guest id.<br>RESORT MANAGEMENT SYSTEM<br>Pointofinterest<br>Town<br>Manager<br>PK<br>towniD<br>Number<br>manageriD<br>Number<br>PK pointiD Number<br>PK<br>townname<br>Varchar(30)<br>describe Varchar(30)<br>name<br>varchar(30)<br>varchar(30)<br>varchar(30) +<br>varchar(30)<br>state<br>opentime varchar(10) PC<br>address<br>varchar(30)<br>longitude<br>varchar(20)<br>varchar(15)<br>closetime varchar(10)<br>latitude<br>city<br>phone<br>FK<br>townID Number<br>summertemp<br>Number<br>wintertemp<br>Number<br>sealevel<br>Number<br>Resort<br>Guest<br>Review<br>PK resortiD<br>Number<br>gasanb<br>Number<br>varchar(30)<br>PK guestiD<br>FK.PK guestID<br>Number<br>resortName<br>varchar(30)<br>name<br>FK.PK resortiD<br>Number<br>street<br>varchar(30)<br>address<br>varchar(30) +<br>dateofreview Date<br>townname<br>varchar(30)<br>varchar(20)<br>varchar(30)<br>country<br>email<br>comments<br>varchar(150)<br>FK townid<br>Number<br>Number<br>Number<br>phone<br>varchar(15)<br>starRating<br>FK manageriD<br>Booking<br>PK bookinglD<br>Number<br>CabinCost<br>FK guestid<br>FK resortiD<br>Number<br>His FK,PK<br>resortiD<br>Number<br>Number<br>FK,PK<br>cabiniD<br>Number<br>FK cabiniD<br>Number<br>Cabin<br>tremdate<br>Date<br>PK<br>startdate<br>Date<br>FKPK resortID<br>Number<br>todate<br>PK<br>enddate<br>Date<br>Date<br>adultCount<br>Number<br>PK<br>cabinlD<br>Number<br>rate<br>Number<br>childCount<br>Number<br>describe<br>varchar(30)<br>petcount<br>Number<br>cabintype<br>varchar(10)<br>totalcharge<br>Number<br>bedroomcount Number<br>sleepcapacity Number<br>

Extracted text: Guest details and Total Charges paid Display guest details who paid total charges RS.50000 and above. Write a query to fetch Guest id, Guest name and Sum of total charges. Give alias name to total charges as TOTALPAID. Sort the result by guest id. RESORT MANAGEMENT SYSTEM Pointofinterest Town Manager PK towniD Number manageriD Number PK pointiD Number PK townname Varchar(30) describe Varchar(30) name varchar(30) varchar(30) varchar(30) + varchar(30) state opentime varchar(10) PC address varchar(30) longitude varchar(20) varchar(15) closetime varchar(10) latitude city phone FK townID Number summertemp Number wintertemp Number sealevel Number Resort Guest Review PK resortiD Number gasanb Number varchar(30) PK guestiD FK.PK guestID Number resortName varchar(30) name FK.PK resortiD Number street varchar(30) address varchar(30) + dateofreview Date townname varchar(30) varchar(20) varchar(30) country email comments varchar(150) FK townid Number Number Number phone varchar(15) starRating FK manageriD Booking PK bookinglD Number CabinCost FK guestid FK resortiD Number His FK,PK resortiD Number Number FK,PK cabiniD Number FK cabiniD Number Cabin tremdate Date PK startdate Date FKPK resortID Number todate PK enddate Date Date adultCount Number PK cabinlD Number rate Number childCount Number describe varchar(30) petcount Number cabintype varchar(10) totalcharge Number bedroomcount Number sleepcapacity Number

Jun 02, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions ยป

Submit New Assignment

Copy and Paste Your Assignment Here