回答編集履歴
1
chousei
test
CHANGED
@@ -6,6 +6,8 @@
|
|
6
6
|
|
7
7
|
```SQL
|
8
8
|
|
9
|
+
create table test (id int primary key,test1 int,test2 int, test3 int,unique key `test_test` (`test1`,`test2`));
|
10
|
+
|
9
11
|
alter table test drop index `test_test`, add unique `test_test` (`test1`,`test2`,`test3`);
|
10
12
|
|
11
13
|
```
|