Jump to content

[SOLVED] Hope you can help me with joining tables


mr_badger

Recommended Posts

I have a site that has music artists and when you click on an artist's name you are taken to there biography. I have this working fine but I want to be able list the albums they have done.

I have created a new table called albums with all the details and I need to join this table with the artists table, I have got it to the point where it's listing all albums but I'm struggling with seperating what album each artist has done.

 

This is my recordset I have now.

SELECT *
FROM blg_albums INNER JOIN blg_article_art ON id_art=album_id
ORDER BY album_title ASC

 

blg_article_art is the table with the artists details. I'm guessing this shouldn't be difficult as I kinda have it working to a point.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.