stepanstas
New member
- Local time
- Today, 15:49
- Joined
- Feb 13, 2009
- Messages
- 5
Hello.
I need help referencing 2 tables. Here is what I am trying to achieve.
Lets say I have one large table with data such as: NY, NJ, PA, CA, WA, IL
Then I have another table that I want to reference, so it would have: NY - East Coast, NJ - East Coast, PA - East Cost, CA - West Cost, WA - West Cost
Notice I do not have IL listed in the reference table. Lets say I only want to point out East and West coast states, any other states that pop up, just say other.
So here is what I am trying to achieve.
Table
NY
NJ
PA
CA
WA
IL
Query
East Coast | NY
East Coast | NY
East Coast | NY
West Coast | CA
West Coast | WA
Other Region | IL
Any help is greatly appreciated.
I need help referencing 2 tables. Here is what I am trying to achieve.
Lets say I have one large table with data such as: NY, NJ, PA, CA, WA, IL
Then I have another table that I want to reference, so it would have: NY - East Coast, NJ - East Coast, PA - East Cost, CA - West Cost, WA - West Cost
Notice I do not have IL listed in the reference table. Lets say I only want to point out East and West coast states, any other states that pop up, just say other.
So here is what I am trying to achieve.
Table
NY
NJ
PA
CA
WA
IL
Query
East Coast | NY
East Coast | NY
East Coast | NY
West Coast | CA
West Coast | WA
Other Region | IL
Any help is greatly appreciated.