Write a single SQL query that determines the list of all guests that are CURRENTLY staying at
Fantastic news! We've Found the answer you've been seeking!
Question:
Write a single SQL query that determines the list of all guests that are CURRENTLY staying at the 'Peach Trees Hotel' today. Because we don't want to both with mid-day check-in/check-outs, we will assume both check-out and check-in happens instantly and happens at midnight. Thus, if the check-out date is "today" then they are still there and don't leave until just before midnight.
Related Book For
An Introduction to Statistical Methods and Data Analysis
ISBN: 978-1305269477
7th edition
Authors: R. Lyman Ott, Micheal T. Longnecker
Posted Date: