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