我是想做一个秒数大于30秒的插入到另一个表中
create or replace trigger time_trigger
after insert on Callrecord
for each row
begin
if select trunc(86400*(etime-btime))-60*(trunc((86400*(etime-btime))/60)) from callRecord order by id desc>=30
then
insert into blackInfo(pnumber,state,typeid) values(:old.fnumber,1,2);
end if;
end time_trigger;