insert into CUP select * from CUP where pPId=514 and iVer+1=iVAt