回答編集履歴

2

訂正

2020/05/01 01:22

投稿

sazi
sazi

スコア25327

test CHANGED
@@ -16,6 +16,6 @@
16
16
 
17
17
  on orders.id = order_products.order_id
18
18
 
19
- group by orders.id
19
+ group by orders.code
20
20
 
21
21
  ```

1

追記

2020/05/01 01:22

投稿

sazi
sazi

スコア25327

test CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  , orders.code
10
10
 
11
- , group_concat(distinct order_products.name) as denormalization
11
+ , group_concat(distinct order_products.name order by order_products.name) as denormalization
12
12
 
13
13
  from orders
14
14