Error #1109 - unknown table in field list caused by trigger
问题 This is my trigger. I want to make trigger on 1 table (pelayanan). CREATE DEFINER=`root`@`localhost` TRIGGER `before_insert_pelayanan` BEFORE INSERT ON `pelayanan` FOR EACH ROW IF NEW.`ESTIMASI` IS NULL OR NEW.`ESTIMASI` = 0 AND `dbhpl`.`pelayanan`.`DAYA` <= 5500 THEN SET NEW.ESTIMASI = 4; ELSEIF NEW.ESTIMASI IS NULL OR NEW.ESTIMASI = 0 AND `dbhpl`.`pelayanan`.`DAYA` <= 33000 AND `dbhpl`.`pelayanan`.`DAYA` >= 6600 THEN SET NEW.ESTIMASI = 15; ELSEIF NEW.ESTIMASI IS NULL OR NEW.ESTIMASI = 0 AND