Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)

  • RE: many to many query question

    Wise you are, Master Yoda!

    In mysql, I used:

    ALTER TABLE `artistsProducts` DROP `artistProductID`

    ALTER TABLE `artistsProducts` ADD PRIMARY KEY (artistID,productID)

    And viola! That is now my primary key. Thank you very...

  • RE: many to many query question

    Thanks again!

    I'm almost un-confused, but not quite (bear with me, please):

    I'm not going to need to relate this NN table to anything else, so yes, I agree that the identity...

  • RE: many to many query question

    Thanks Master Yoda!

    In the artists table, artistID is the primary key and of course that's unique. In the products table, productID is the primary key, unique as well. ...

  • RE: many to many query question

    Hehe, nice curveball there, I'm on my toes now... thanks, Remi!!

    - Dave

  • RE: many to many query question

    Thanks, I'm starting to follow you here, and I appreciate the move toward better syntax, but did you make a typo?

    You said:

    FROM artists inner join artistsProducts

    on artists.artistID = artistsProducts.productID inner...

Viewing 5 posts - 1 through 5 (of 5 total)