Aussi simple que cela :
INSERT INTO reports
SELECT terms, COUNT( id) AS count
FROM table
GROUP BY terms
ORDER BY terms DESC
Aussi simple que cela :
INSERT INTO reports
SELECT terms, COUNT( id) AS count
FROM table
GROUP BY terms
ORDER BY terms DESC