I have a two table query. Table one's records are intersections. County Road 42 and Elm. Table two is the crashes at that intersection for the last 10 years. So... 2010 - 2 crashes. 2011 - 1 crash. 2012 - 0 crashes. 2013 - 2 crashes and so on. However the query only needs to show the crashes for a range of 3 years. So say 2011, 2012 and 2013. (which by the way I would like the user to be able to determine) In my table I have a field named CrashYear and a field named NumberofCrashes. When I bring my intersection information into the query everything works but when I bring CrashYear down and NumberofCrashes down into my query I get the same intersection repeated 10 times (one for each year). When I bring down a second CrashYear and NumberofCrashes the query no longer works and I get zero data.
How can I get a query that lists the intersection once. and then 3 different crash years (determined by the user) with the corresponding number of crashes for that year?