mysql - ALTER TABLE to add a edit primary key - Stack Overflow


PHOTO EMBED

Sun Jul 05 2020 14:40:15 GMT+0000 (UTC)

Saved by @bensharfy #sql

ALTER TABLE provider DROP PRIMARY KEY, ADD PRIMARY KEY(person, place, thing);
content_copyCOPY

https://stackoverflow.com/questions/8859353/alter-table-to-add-a-composite-primary-key