AllMememe
Technical User
- Feb 3, 2011
- 5
I have a table called Match which has columns DateFrom and DateTo. I need my query to get all records that have their DateFrom OR DateTo between two selected dates.
I tried:
Select distinct P.FName, M.Team from Match M Person P where P.Team = M.Team and M.DateFrom OR M.DateTo between #02/Feb/2011# and #09/Feb/2011#
This however returns all the wrong records.
Any help would be appreciated. Thanks.
I tried:
Select distinct P.FName, M.Team from Match M Person P where P.Team = M.Team and M.DateFrom OR M.DateTo between #02/Feb/2011# and #09/Feb/2011#
This however returns all the wrong records.
Any help would be appreciated. Thanks.