title: Do something i.e insert into another table when mysql table becomes empty
body: <p>I am processing some bulk sms that are stored in the <code>messageout</code> table and once a message is sent,its deleted from the table so there is a time the <code>messageout</code> table is totally empty.</p>
  
  <p>Is there a mechanism in mysql that can be used to notify when the table falls empty i.e triggers or something similar?.</p>
  
  <p>Thanks.</p>