質問編集履歴

1

テーブルを修正

2023/01/19 01:25

投稿

sosososo
sosososo

スコア18

test CHANGED
File without changes
test CHANGED
@@ -10,41 +10,41 @@
10
10
  ```ここに言語を入力
11
11
  テーブルA
12
12
  -----------------------
13
- a_id | data
13
+ a_id | data
14
14
  -----------------------
15
- a001 | aaaaaaaaaaaaaaaa1
15
+ 001 | aaaaaaaaaaaaaaaa1
16
- a002 | aaaaaaaaaaaaaaaa2
16
+ 002 | aaaaaaaaaaaaaaaa2
17
- a003 | aaaaaaaaaaaaaaaa3
17
+ 003 | aaaaaaaaaaaaaaaa3
18
- a004 | aaaaaaaaaaaaaaaa4
18
+ 004 | aaaaaaaaaaaaaaaa4
19
- a005 | aaaaaaaaaaaaaaaa5
19
+ 005 | aaaaaaaaaaaaaaaa5
20
20
 
21
21
 
22
22
  テーブルB
23
23
  -----------------------
24
- b_id | name
24
+ b_id | name
25
25
  -----------------------
26
- b001 | bbbbbbbbbbbbbbbb1
26
+ 001 | bbbbbbbbbbbbbbbb1
27
- b002 | bbbbbbbbbbbbbbbb2
27
+ 002 | bbbbbbbbbbbbbbbb2
28
- b003 | bbbbbbbbbbbbbbbb3
28
+ 003 | bbbbbbbbbbbbbbbb3
29
- b004 | bbbbbbbbbbbbbbbb4
29
+ 004 | bbbbbbbbbbbbbbbb4
30
- b005 | bbbbbbbbbbbbbbbb5
30
+ 005 | bbbbbbbbbbbbbbbb5
31
31
 
32
32
 
33
33
 
34
34
  結合したテーブル
35
35
  -----------------------
36
- a_id | data | b_id | name
36
+ a_id| data | b_id| name
37
37
  -----------------------
38
- a001 | aaaaaaaaaaaaaaaa1 | |
38
+ 001 | aaaaaaaaaaaaaaaa1 | |
39
- | | b001 | bbbbbbbbbbbbbbbb1
39
+ | | 001 | bbbbbbbbbbbbbbbb1
40
- a002 | aaaaaaaaaaaaaaaa2 | |
40
+ 002 | aaaaaaaaaaaaaaaa2 | |
41
- | | b002 | bbbbbbbbbbbbbbbb2
41
+ | | 002 | bbbbbbbbbbbbbbbb2
42
- a003 | aaaaaaaaaaaaaaaa3 | |
42
+ 003 | aaaaaaaaaaaaaaaa3 | |
43
- | | b003 | bbbbbbbbbbbbbbbb3
43
+ | | 003 | bbbbbbbbbbbbbbbb3
44
- a004 | aaaaaaaaaaaaaaaa4 | |
44
+ 004 | aaaaaaaaaaaaaaaa4 | |
45
- | | b004 | bbbbbbbbbbbbbbbb4
45
+ | | 004 | bbbbbbbbbbbbbbbb4
46
- a005 | aaaaaaaaaaaaaaaa5 | |
46
+ 005 | aaaaaaaaaaaaaaaa5 | |
47
- | | b005 | bbbbbbbbbbbbbbbb5
47
+ | | 005 | bbbbbbbbbbbbbbbb5
48
48
  ```
49
49
 
50
50
  ### 試したこと