来自其他两个表的Update中的group_concat的MySQL语句

I have 3 tables below I'm trying to write a group_concat statement for the "item" column in the table cart_session

TABLE products

id      name
------------------------
123  |  car
456  |  boat
789  |  house

--------------------------------

TABLE cart_items

pid session
----------------------
123  |  ABCD    
456  |  ABCD
789  |  EFGH

----------------------------------

TABLE cart_session

id   item
----------------------------
ABCD  |  car,boat
EFGH  |  house