I cannot insert into rating because: Duplicate entry '588' for key 1