create trigger LRupdate
instead of update on LateRating
for each row
begin
update Rating
set stars = new.stars
where mID = old.mID and ratingDate = old.ratingDate;
update Rating
set mID = new.mID
where mID = old.mID;
update Movie
set title = new.title and mID = new.mID
where mID = old.mID;
end;
顺序应该是对的呀。。。到底哪里错了