select * from action where content like '%offending%'; delete from action where content like '%offending%'; select * from action where ref_name like '%offending%'; delete from action where ref_name like '%offending%';