SQL
trigger tgr_jugador_0
-- AFTER INSERT OR UPDATE ON JUGADOR 
AFTER INSERT OR UPDATE ON table1
FOR EACH ROW
DECLARE
temp TEMPORADA.TEMPORADA_ID%type;
begin
  /*modul_estadistic.actualitza_M_E_C1();
  modul_estadistic.actualitza_m_e_c3();
  modul_estadistic.actualitza_M_E_C4();*/
  select ct.temporada_id into temp from jugador j, contracte c, contracte_temporada ct, temporada t where 
    c.jugador_id = :old.jugador_id 
    And c.ultim = 1
    and c.contracte_id = ct.contracte_id;
  /*modul_estadistic.actualitza_m_e_c5(:new.federacio_id, temp, :new.genere_id, :new.modalitat_id);
  modul_estadistic.actualitza_M_E_C7();*/
  modul_estadistic.taula_jugador_canviada(temp, :old.federacio_id, :old.genere_id, :old.modalitat_id);
END;