質問編集履歴

1

MURTIPLE→MULTIPLE スペルミスを訂正しました

2020/05/21 16:59

投稿

mn_fliyng
mn_fliyng

スコア4

test CHANGED
File without changes
test CHANGED
@@ -16,13 +16,11 @@
16
16
 
17
17
  ```
18
18
 
19
- ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'MURTIPLE KEY,
19
+ ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'MULTIPLE KEY,
20
20
 
21
21
  code VARCHAR(16) NOT NULL PRIMARY KEY,
22
22
 
23
- name VARCHAR(128) NOT NULL ' at line 4
23
+ name VARCHAR(128) NOT NULL ' at line 4`
24
-
25
- ```
26
24
 
27
25
 
28
26
 
@@ -34,35 +32,35 @@
34
32
 
35
33
  CREATE TABLE xxx.zzz (
36
34
 
37
- edit_tstmp VARCHAR(32) NOT NULL,
35
+ -> edit_tstmp VARCHAR(32) NOT NULL,
38
36
 
39
- add_tstmp VARCHAR(32) NOT NULL,
37
+ -> add_tstmp VARCHAR(32) NOT NULL,
40
38
 
41
- flag VARCHAR(8) NOT NULL MURTIPLE KEY,
39
+ -> flag VARCHAR(8) NOT NULL MULTIPLE KEY,
42
40
 
43
- code VARCHAR(16) NOT NULL PRIMARY KEY,
41
+ -> code VARCHAR(16) NOT NULL PRIMARY KEY,
44
42
 
45
- name VARCHAR(128) NOT NULL MURTIPLE KEY,
43
+ -> name VARCHAR(128) NOT NULL MULTIPLE KEY,
46
44
 
47
- kana VARCHAR(128) NOT NULL MURTIPLE KEY,
45
+ -> kana VARCHAR(128) NOT NULL MULTIPLE KEY,
48
46
 
49
- pass VARCHAR(16) NOT NULL MURTIPLE KEY,
47
+ -> pass VARCHAR(16) NOT NULL MULTIPLE KEY,
50
48
 
51
- shop_code VARCHAR(16) NOT NULL MURTIPLE KEY,
49
+ -> shop_code VARCHAR(16) NOT NULL MURTIPLE KEY,
52
50
 
53
- my_code int(12) NOT NULL PRIMARY KEY,
51
+ -> my_code int(12) NOT NULL PRIMARY KEY,
54
52
 
55
- role VARCHAR(8) NOT NULL,
53
+ -> role VARCHAR(8) NOT NULL,
56
54
 
57
- scope VARCHAR(255) NOT NULL,
55
+ -> scope VARCHAR(255) NOT NULL,
58
56
 
59
- contract_item01 VARCHAR(32) NOT NULL,
57
+ -> contract_item01 VARCHAR(32) NOT NULL,
60
58
 
61
- contract_item02 VARCHAR(128) NOT NULL,
59
+ -> contract_item02 VARCHAR(128) NOT NULL,
62
60
 
63
- memo TEXT NOT NULL DEFAULT,
61
+ -> memo TEXT NOT NULL DEFAULT,
64
62
 
65
- )engine=InnoDB;
63
+ -> )engine=InnoDB;
66
64
 
67
65
  ```
68
66
 
@@ -72,7 +70,7 @@
72
70
 
73
71
 
74
72
 
75
- MURTIPLEKEY、PRIMARYKEYの削除→変わらずエラー発生
73
+ MULTIPLEKEY、PRIMARYKEYの削除→変わらずエラー発生
76
74
 
77
75
 
78
76