Traditional Culture Encyclopedia - Hotel accommodation - Ask a difficult SQL query statement
Ask a difficult SQL query statement
Basic information on all hotels in a certain city: select * from hotel table where HotelCity='city name'
The lowest and highest price of each hotel room: select min(HousePrice ) lowest price, max(HousePrice) highest price from price list where HotelCity='city name' group by HotelName
lowest price in hotels in this city select min(HousePrice) lowest price from price list where HotelCity= 'City name' and HotelName='Hotel name'
- Related articles
- How many+Raiders are there in Xiamen Wharf?
- What is the next sentence when you wake up drunk at noon?
- B&B is the same as the hotel business license?
- Bus from Jingzhou Middle Road Fengquan to Daqing Road Fengzeyuan
- Villa Afriq
- Is Blu-ray Airport International City an apartment?
- What are the interesting tourist attractions in Guilin?
- Atour Hotel permanently cancelled its account.
- Qianlan wisdom hotel
- What does insurance allowance mean?