I have a database I am setting up that has basically two separate tables:
- a membership table where a person's "member name" should be a unique identifier...
- an alias table where a single member (from the above table) might have 2-5 "character" names - or aliases he may use. His "member name" will be tagged to each "alias name" in this table - but the member name is NOT unique here...the alias is.
I currently have all this information in the tables, but I cannot get it to relate and display - I know it is a function of SELECT * ... but beyond that I cannot get the information to display out at all! I am trying to do the following...
MEMBERNAME - ALIAS - EMAIL ADDRESS - CITY - STATE
MEMBERNAME is from the member's table
ALIAS is from the alias table
EMAIL ADDRESS is from the ALIAS table
CITY is from the members table
STATE is from the members table
I should be able to tie the two member fields together in each table...but just don't know what I am doing wrong. I have the following fields in the respective tables:
MEMBER TABLE
- m_autonum
- m_membername
- m_city
- m_state
ALIAS TABLE
- a_autonum
- a_alias
- a_membername
- a_email
ANY help is certainly appreciated!
- a membership table where a person's "member name" should be a unique identifier...
- an alias table where a single member (from the above table) might have 2-5 "character" names - or aliases he may use. His "member name" will be tagged to each "alias name" in this table - but the member name is NOT unique here...the alias is.
I currently have all this information in the tables, but I cannot get it to relate and display - I know it is a function of SELECT * ... but beyond that I cannot get the information to display out at all! I am trying to do the following...
MEMBERNAME - ALIAS - EMAIL ADDRESS - CITY - STATE
MEMBERNAME is from the member's table
ALIAS is from the alias table
EMAIL ADDRESS is from the ALIAS table
CITY is from the members table
STATE is from the members table
I should be able to tie the two member fields together in each table...but just don't know what I am doing wrong. I have the following fields in the respective tables:
MEMBER TABLE
- m_autonum
- m_membername
- m_city
- m_state
ALIAS TABLE
- a_autonum
- a_alias
- a_membername
- a_email
ANY help is certainly appreciated!