Такой код не будет работать:
А такой код работает:insert into BCDRAGGREGATORselect S_COAGGREGATOR.nextval as coaggregator,numident as identificator,coerror,count(*) bcdrcountfrom badcdrgroup by numident,coerror
Стоит быть внимательным к ошибкам.insert into BCDRAGGREGATORselect S_BCDRAGGREGATOR.nextval as COAGGREGATOR,a.*from(select numident as identificator,coerror,d2d.id_dep,count(*) bcdrcountfrom badcdrgroup by numident,coerror) a
Комментариев нет:
Отправить комментарий