Teomdate 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 Town Pointofinterest PK pointID Number describe Varchar(30) opentime varchar(10) L Manager PK towniD Number manageriD Number varchar(30) PK Varchar(30) varchar(30) varchar(30) varchar(30) townname Iname state address varchar(30) longitude closetime varchar(10) latitude city varchar(20) phone varchar(15) summertemp wintertemp FK towniD Number Number Number sealevel Number Resort Guest Review PK resortID Number questiD Number PK FK.PK questID Number resortName varchar(30) name varchar(30) FKPK resortiD Number varchar(30) street varchar(30) H obs address dateofreview Date townname varchar(30) country varchar(20) email varchar(30) varchar(150) FK townid Number comments phone varchar(15) %23 starRating Number FK managertD Number Booking PK bookingiD Number CabinCost FK guestid Number FK,PK resortiD Number FK resortiD Number FK.PK cabiniD Number FK cabiniD Number Cabin fromdate Date PK startdate Date FK.PK resortiD Number todate Date PK enddate Date PK cabiniD Number adultCount Tchildcount Number Number rate Number describe varchar(30) petcount Number cabintype varchar(10) totalcharge Number bedroomcount Number || || |||

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
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 pointiD Number
PK
towniD
Number
PK
manageriD
Number
townname
Varchar(30)
describe Varchar(30)
name
varchar(30)
varchar(30)
varchar(30) +
varchar(30)
state
opentime varchar(10)
address
varchar(30)
longitude
latitude
city
varchar(20)
closetime varchar(10)
phone
varchar(15)
FK
townID Number
summertemp
Number
wintertemp
Number
sealevel
Number
Resort
Guest
Review
PK resortiD
Numbes
gasanb
Number
varchar(30)
PK guestiD
FK.PK guestID
Number
resortName
varchar(30)
name
FK.PK resortiD
Number
varchar(30)
street
ANAES
address
varchar(30) ++
dateofreview Date
townname
varchar(30)
varchar(20)
varchar(30)
country
email
comments
varchar(150)
FK townid
Number
phone
varchar(15)
starRating
Number
FK manageriD
Number
Booking
PK bookinglD
Number
CabinCost
FK guestid
Number
His FK,PK
resortiD
Number
FK resortiD
Number
FK,PK
cabiniD
Number
FK cabiniD
fromdate
Number
Cabin
Date
PK
startdate
Date
FKPK resortID
Number
todate
Date
PK
enddate
Date
adultCount
Number
PK
cabiniD
Number
rate
Number
childCount
Number
describe
varchar(30)
petcount
Number
cabintype
varchar(10)
totalcharge
Number
bedroomcount Number
sleepcapacity Number
Transcribed Image 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 pointiD Number PK towniD Number PK manageriD Number townname Varchar(30) describe Varchar(30) name varchar(30) varchar(30) varchar(30) + varchar(30) state opentime varchar(10) address varchar(30) longitude latitude city varchar(20) closetime varchar(10) phone varchar(15) FK townID Number summertemp Number wintertemp Number sealevel Number Resort Guest Review PK resortiD Numbes gasanb Number varchar(30) PK guestiD FK.PK guestID Number resortName varchar(30) name FK.PK resortiD Number varchar(30) street ANAES address varchar(30) ++ dateofreview Date townname varchar(30) varchar(20) varchar(30) country email comments varchar(150) FK townid Number phone varchar(15) starRating Number FK manageriD Number Booking PK bookinglD Number CabinCost FK guestid Number His FK,PK resortiD Number FK resortiD Number FK,PK cabiniD Number FK cabiniD fromdate Number Cabin Date PK startdate Date FKPK resortID Number todate Date PK enddate Date adultCount Number PK cabiniD Number rate Number childCount Number describe varchar(30) petcount Number cabintype varchar(10) totalcharge Number bedroomcount Number sleepcapacity Number
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY