Du får duplicate key error fordi der allerede er en begrænsning ved navn ISBN til stede i databasen i henhold til dit første alter erklæring til author bord
alter table author add constraint ISBN foreign key (ISBN) references book (ISBN);
Prøv at bruge et andet navn til begrænsningen i Publisher bord
alter table publisher add constraint ISBN1
foreign key (ISBN) references book (ISBN);