Here’s one to keep for later:
CREATE TABLE archive_2008_09 engine=archive AS
SELECT * FROM my_log
WHERE YEAR(logdate)=2008 AND MONTH(logdate)=9
In MySQL this will create a nice compact archive table worth a month of data, having the same structure as the source table.