sql - Find Rows whose date range contain a given date -
I'm looking at the following problem:
My group table has two fields: Arrival and departure Date
Now I want to find all those groups that exist on a certain date.
The example SQL query is passed a date, and I want to find every group where this date range is from arrival to department date.
Thanks a lot! Choose between
... . Arrival and Y.DepartureDate Replace Curdate with your actual date value.
Comments
Post a Comment