I have written the below trigger:
CREATE TRIGGER `ecdevice_update` AFTER INSERT ON `ec_packet_9f` FOR EACH ROW update ec_device as t1 inner join (sel