proc7.sql : done the procedure 7
left with the trigger part