title: MySQL Fire Trigger for both Insert and Update
body: <p>Is it possible to fire a mysql trigger for both the insert and update events of a table?</p>
  
  <p>I know I can do the following</p>
  
  <pre><code>CREATE TRIGGER my_trigger
      AFTER INSERT ON `table`
      FOR EACH ROW
  BEGIN
  .....
  END //
  
  CREATE TRIGGER my_trigger
      AFTER UPDATE ON `table`
      FOR EACH ROW
  BEGIN
  .....
  END //
  </code></pre>
  
  <p>But how can I do</p>
  
  <pre><code>CREATE TRIGGER my_trigger
      AFTER INSERT ON `table` AND
      AFTER UPDATE ON `table`
      FOR EACH ROW
  BEGIN
  .....
  </code></pre>
  
  <p>Is it possible, or do I have to use 2 triggers? The code is the same for both and I don't want to repeat it.</p>