2016-04-25 52 views

回答

0

當然可以。您的查詢會看起來像

INSERT INTO #{output.tableName} (field1, field2) 
SELECT field1, SUM(field2) 
FROM #{input.tableName} 
GROUP BY field1;