Extending on this question:
hotel reservation system SQL query: identify when one specific room is available
Using the schema listed in the question above, how can I have a query that says “Find me a room for 2 consecutive days thats available in this week?”
Just join to the availability table twice
or, if we’re not into writing SQL like its 1985: