MySQL5.6 觸發器的使用(條件分支、變量的使用)

create trigger check_record_delete_trigger after DELETE on check_record FOR EACH ROW begin set @count = (select count(*) from check_record where INSTRUMENT_ID = old.INSTRUMENT_ID); if @count = 0 the
相關文章
相關標籤/搜索