sim not sure of this is posted in the right thread but here goesanyway
im trying to do a query on accessand having an issue that i cant seem to figure out, Ihave a crimedata table with column for month and andother column with crime type, i am trying to create a queary where it searches the table for certain crimes in certain months and shows the result
SELECT Month, COUNT(*) AS 'Number of burglaries'
FROM CrimeData
WHERE Type = 'Burglary'
AND (Month ='January' OR Month = 'February' OR Month = 'March')
GROUP BY Month;
thats what ihave so far which returns
month number of burglaries
january 782
february 782
march 906
where as i want this to be combined rather than 3 seperate ones sosoething like
month number of burglaries
january - march 2470
any help would beappreciated
thanks