P
Penny
Hi All,
I've made a database for a record store and am currently attempting to make
it 'Web Searchable'. An Artist can be associated with many Recordings and
vice versa so there is a 'tblArtists' with an ArtistID, ArtistName and a few
other artist details, a 'tblRecordings' with a RecordingID, RecordingTitle
and a few other recording details and also a 'tblLINKArtistsAndRecordings'
with only the 'ArtistID' and 'RecordingID' composite primary key to link it
all together. Works well.
How do I create an SQL string that will take the name of an Artist(entered
as a 'keyword' by the web page user) as the parameter and return all the
recordings associated with that artist? I figure the SQL must find the
Artist name in tblArtists and then go via the linking table to return all
the recordings. I haven't had any success in the Query Builder yet.
Any ideas?
Regards,
Penny.
I've made a database for a record store and am currently attempting to make
it 'Web Searchable'. An Artist can be associated with many Recordings and
vice versa so there is a 'tblArtists' with an ArtistID, ArtistName and a few
other artist details, a 'tblRecordings' with a RecordingID, RecordingTitle
and a few other recording details and also a 'tblLINKArtistsAndRecordings'
with only the 'ArtistID' and 'RecordingID' composite primary key to link it
all together. Works well.
How do I create an SQL string that will take the name of an Artist(entered
as a 'keyword' by the web page user) as the parameter and return all the
recordings associated with that artist? I figure the SQL must find the
Artist name in tblArtists and then go via the linking table to return all
the recordings. I haven't had any success in the Query Builder yet.
Any ideas?
Regards,
Penny.