MariaDB [database]> describe TABLENAME;
想由本來是兩個PRIMARY KEY 更改為 三個
MariaDB [database]>ALTER TABLE items DROP INDEX `PRIMARY`, ADD PRIMARY KEY (FIELD1, FIELD2,FIELD3);
MariaDB [database]> describe TABLENAME;
想由本來是兩個PRIMARY KEY 更改為 三個
MariaDB [database]>ALTER TABLE items DROP INDEX `PRIMARY`, ADD PRIMARY KEY (FIELD1, FIELD2,FIELD3);