insert into tblProduct(id,Customer,Product) (select TOP 2 id+1,Customer,Product From tblProduct group by id,Product,customer )order by id desc
insert into tblProduct(Product,Customer) select Product,CustomerFrom tblProduct where id in (select max(id) from tblProduct union select max(id)-1 from tblProduct)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)