For the below given schema diagram develop a SQL query to find the guest name whose total bill amount is more than 50,000. RESORT MANAGEMENT SYSTEM Town Pointofinterest Manager Number Varchar(30)...


For the below given schema diagram develop a SQL query to find the guest name whose total bill<br>amount is more than 50,000.<br>RESORT MANAGEMENT SYSTEM<br>Town<br>Pointofinterest<br>Manager<br>Number<br>Varchar(30)<br>varchar(30)<br>varchar(30)<br>PK<br>townID<br>PK<br>managerID<br>Number<br>PK<br>pointID<br>Number<br>townname<br>varchar(30)<br>varchar(30)<br>varchar(20)<br>| varchar(15)<br>describe Varchar(30)<br>name<br>state<br>address<br>opentime varchar(10)<br>closetime varchar(10)<br>%23<br>longitude<br>city<br>latitude<br>varchar(30)<br>FK<br>townID<br>Number<br>HAS<br>phone<br>summertemp<br>Number<br>wintertemp<br>Number<br>sealevel<br>Number<br>GIVES<br>Resort<br>Guest<br>Review<br>Number<br>varchar(30)<br>varchar(30)<br>varchar(30)<br>PK resortiD<br>guestiD<br>Number<br>PK<br>FK,PK guestiD<br>FK,PK resortiD<br>Number<br>Number<br>resortName<br>varchar(30)<br>varchar(30) +<br>varchar(20)<br>varchar(30)<br>varchar(15)<br>name<br>street<br>MANAGES<br>address<br>dateofreview Date<br>townname<br>country<br>BOOKS<br>varchar(150)<br>FK townid<br>Number<br>email<br>comments<br>phone<br>starRating<br>Number<br>FK manageriD<br>Number<br>Booking<br>HAS<br>РК bookingiD<br>Number<br>CabinCost<br>FK guestid<br>Number<br>HAS FK,PK<br>resortiD<br>Number<br>FK resortID<br>Number<br>FK,PK<br>cabiniD<br>Number<br>FK cabiniD<br>Number<br>Cabin<br>fromdate<br>PK<br>startdate<br>Date<br>Date<br>FK,PK resortiD<br>HAS<br>Number<br>todate<br>Date<br>PK<br>enddate<br>Date<br>HAS<br>PK<br>cabinID<br>Number<br>adultCount<br>Number<br>rate<br>Number<br>varchar(30) +<br>varchar(10)<br>childCount<br>Number<br>describe<br>petcount<br>Number<br>cabintype<br>totalcharge<br>Number<br>bedroomcount Number<br>sleepcapacity<br>Number<br>

Extracted text: For the below given schema diagram develop a SQL query to find the guest name whose total bill amount is more than 50,000. RESORT MANAGEMENT SYSTEM Town Pointofinterest Manager Number Varchar(30) varchar(30) varchar(30) PK townID PK managerID Number PK pointID Number townname varchar(30) varchar(30) varchar(20) | varchar(15) describe Varchar(30) name state address opentime varchar(10) closetime varchar(10) %23 longitude city latitude varchar(30) FK townID Number HAS phone summertemp Number wintertemp Number sealevel Number GIVES Resort Guest Review Number varchar(30) varchar(30) varchar(30) PK resortiD guestiD Number PK FK,PK guestiD FK,PK resortiD Number Number resortName varchar(30) varchar(30) + varchar(20) varchar(30) varchar(15) name street MANAGES address dateofreview Date townname country BOOKS varchar(150) FK townid Number email comments phone starRating Number FK manageriD Number Booking HAS РК bookingiD Number CabinCost FK guestid Number HAS FK,PK resortiD Number FK resortID Number FK,PK cabiniD Number FK cabiniD Number Cabin fromdate PK startdate Date Date FK,PK resortiD HAS Number todate Date PK enddate Date HAS PK cabinID Number adultCount Number rate Number varchar(30) + varchar(10) childCount Number describe petcount Number cabintype totalcharge Number bedroomcount Number sleepcapacity Number

Jun 04, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here