I have created a query that searches events by name. The result list years of event with same name (10/12/2012 to 04/30/2013). My question is how can I make my query just show the events have same name within the year that I want select.
For example: I just want see this month or this year events that have same name.
Query:
SELECT
UserField03, GageNumber, GageType, LastCheckOutDate, CurrentLocation
FROM
Gages
WHERE
GageNumber IN (SELECT DISTINCT Gages.GageNumber
FROM Gages
INNER JOIN Events ON Gages.GageID = Events.GageID
WHERE (Name = 'Returned to Cal')
)
ORDER BY
LastCheckOutDate