with temp As ( if(mod(id,3)=0,3,mod(id,3)) AS id, select loop, value from x...
-- 使用 Postgresql create table ithelp191129 ( id smallint not null primary key...