TASK #61 · MediumRooms reserved on the 12th week of 2020
Your brief
Output a list of rooms that have been reserved for at least one day in the 12th week of 2020.
In this task, take a period of seven days as one week, the first of which begins on January 1, 2020. For example, the first week of the year is January 1-7, and the third is January 15-21.
Ctrl / ⌘ + ↵
Result
Write a query and run it to see the results.
Schema
usersid, name, email, email_verified_at, password, phone_numberreservationsid, user_id, room_id, start_date, end_date, price, totalroomsid, home_type, address, has_tv, has_internet, has_kitchen, has_air_con, price, owner_id, latitude, longitudereviewsid, reservation_id, rating