I am doing a trigger in mysql that deletes a record from a table and executes when data is inserted in that table I do it in the following way
DELIMITER $$
CREATE TRIGGER 'comp01'.'ELiminar***'
AFTER INSERT ON 'comp01'.'<ft_inv_slvta>'
BEGIN
DELETE FROM comp01.ft_inv_slvta WHERE codref = '***'
END$$
DELIMITER ;
But I'm having problems with the syntax of the code
When you execute it, this message is displayed