MySQL join many to many single row

后端 未结 2 717
别跟我提以往
别跟我提以往 2020-12-08 08:20

I have 3 tables that I want to combine, see below for details:

product

  • productID
  • name
  • price

prod_cat

    <
2条回答
  •  情书的邮戳
    2020-12-08 08:49

    You can use group_concat if using mySQL...

    see this thread.

    SQL to join one table to another table multiple times? (Mapping products to categories)

    (possible duplicate)

提交回复
热议问题