J
John
I want to limit the number of records showing for
individuals with multiple Addresses.
Following is my table structure.
tblARTISTS tblADDRESS_TYPE tblADDRESS
ArtistID >>>>>>ArtistID
AddressID <<<<<<<<<<AddressID
I'm not sure how to describe foriegn keys and such, but ...
tblArtists is a one to many link to tblAddressType via AritistID.
tblAddress is also a one to many link to tblAddressType via AddressID
Any time I have an artist with more than one address, I get
all the addesses showing for those Artists. But for this query,
I only want the First Address for each Artist.
I copied the SQL from the Actual Query I am working with.
SELECT tblArtists.ArtistID, tblAddress.AddressID
FROM tblArtists INNER JOIN (tblAddress INNER JOIN tblAddress_Type
ON tblAddress.AddressID = tblAddress_Type.AddressID)
ON tblArtists.ArtistID = tblAddressType.ArtistID;
How do I limit the query to show the Artist only once
with only one address?
Can anyone help or advise me?
If this is a confusing description, please let me know
and I will attempt to better describe the situation.
Thank You
individuals with multiple Addresses.
Following is my table structure.
tblARTISTS tblADDRESS_TYPE tblADDRESS
ArtistID >>>>>>ArtistID
AddressID <<<<<<<<<<AddressID
I'm not sure how to describe foriegn keys and such, but ...
tblArtists is a one to many link to tblAddressType via AritistID.
tblAddress is also a one to many link to tblAddressType via AddressID
Any time I have an artist with more than one address, I get
all the addesses showing for those Artists. But for this query,
I only want the First Address for each Artist.
I copied the SQL from the Actual Query I am working with.
SELECT tblArtists.ArtistID, tblAddress.AddressID
FROM tblArtists INNER JOIN (tblAddress INNER JOIN tblAddress_Type
ON tblAddress.AddressID = tblAddress_Type.AddressID)
ON tblArtists.ArtistID = tblAddressType.ArtistID;
How do I limit the query to show the Artist only once
with only one address?
Can anyone help or advise me?
If this is a confusing description, please let me know
and I will attempt to better describe the situation.
Thank You