Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
数据库表结构:Hotel(hotelNo, name, address) Room (roomNo, hotelNo, type, price) Booking(hotelNo, guestNo, dateFrom, dateTo, roomNo) Guest guestNo, name, address)
伦敦每家酒店最常预订的房型是什么?
我被告知要加入三个表,Room、Hotel 和 booking,并且会有一个 max 和一个 count 函数和一个子查询。