title: How to delete records if user_mail column value doesn't contain keywords like gmail, yahoo, hotmail in mysql
body: <p>In <strong>Mysql</strong>, there is a <strong>Users</strong> table with column name <strong>user_mail</strong>. I want to <strong>delete</strong> all records in <strong>user_mail</strong> column which does not contain keywords like <strong>hotmail, gmail, yahoo</strong>.</p>
  
  <p>And also I want to remove all related record in other tables. </p>
  
  <p>Note: It is a <strong>wordpress</strong> DB.</p>