CREATE TRIGGER create_log AFTER DELETE ON users FOR EACH ROW BEGIN INSERT INTO deleted_users SET user_id = OLD.user_id END;
i got options to choose