dudesmash
asked on
Microsoft Access: join or intersect or minus???
I have a table with following rows and columns
1stStreet 2ndStreet Crashes
MLK NorthSt 7
NorthSt MLK 1
WillowSt ChaseSt 2
Ag Dr AlpineSt 3
ChaseSt WillowSt 5
I want the results(total crashes) as follows:
MLK NorthSt 8
WillowSt ChaseSt 7
Ag Dr AlpineSt 3
So basically I want tthe sum of crashes at an intersection. For the above example I have added all crashes for MLK / NorthSt, Willow/ChaseSt, and AgDr/AlpineSt. Since the streetnames 1 and 2 are varying but still considered to be the same intersection, I dont know how to write a query in MS Access. Any help will be of great use to me.
Thanks a lot.
1stStreet 2ndStreet Crashes
MLK NorthSt 7
NorthSt MLK 1
WillowSt ChaseSt 2
Ag Dr AlpineSt 3
ChaseSt WillowSt 5
I want the results(total crashes) as follows:
MLK NorthSt 8
WillowSt ChaseSt 7
Ag Dr AlpineSt 3
So basically I want tthe sum of crashes at an intersection. For the above example I have added all crashes for MLK / NorthSt, Willow/ChaseSt, and AgDr/AlpineSt. Since the streetnames 1 and 2 are varying but still considered to be the same intersection, I dont know how to write a query in MS Access. Any help will be of great use to me.
Thanks a lot.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Whohooooooooooooo!!
You have saved me from a huge time hassle. It works!! Also thanks a lot for the prompt response.
Thank you very very much
A P
You have saved me from a huge time hassle. It works!! Also thanks a lot for the prompt response.
Thank you very very much
A P
Cheers, Andrew
Open in new window