@kimmyx
I tried it with GROUP_CONCAT (). After pressing the Execute button, however, nothing happens.
The original code looks like this:
SELECT
zkzCrojUwoocommerce_order_items
.order_id
as 'Order_id'
, zkzCrojUwoocommerce_order_itemmeta
.meta_value
as 'Vorname'
FROM zkzCrojUwoocommerce_order_items
INNER JOIN zkzCrojUwoocommerce_order_itemmeta
ON zkzCrojUwoocommerce_order_itemmeta
.order_item_id
= zkzCrojUwoocommerce_order_items
.order_item_id
WHERE (zkzCrojUwoocommerce_order_itemmeta
.meta_key
= 'vorname')
The Concat code looks like this:
SELECT
zkzCrojUwoocommerce_order_items
.order_id
as 'Order_id'
, GROUP_CONCAT(zkzCrojUwoocommerce_order_itemmeta
.meta_value
) as 'Vorname'
FROM zkzCrojUwoocommerce_order_items
INNER JOIN zkzCrojUwoocommerce_order_itemmeta
ON zkzCrojUwoocommerce_order_itemmeta
.order_item_id
= zkzCrojUwoocommerce_order_items
.order_item_id
WHERE (zkzCrojUwoocommerce_order_itemmeta
.meta_key
= 'vorname')