INSERT INTO ... SELECT
SQL SELECT INTO
SQL INSERT INTO SELECT Statement
INSERT INTO table2 (Custid,total) SELECT CustId,Sum(Amount) FROM table1 group by CustId;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)