title: Mysql trigger is not working
body: <p>I've created following trigger but it not executing after inserting data </p>
  
  <pre><code>DELIMITER //
    CREATE TRIGGER sale_after_insert
  AFTER INSERT
     ON ano_sale_join
  FOR EACH ROW
   BEGIN
      INSERT INTO ano_sale_join.database_inventory (sale_id) values (NEW.sale_id);
      INSERT INTO ano_sale_join.database_inventory (sales_prod_id) values (NEW.sales_prod_id);
    END//
  DELIMITER;
  </code></pre>