I have a query that inserts using a select:
INSERT INTO courses (name, location, gid) SELECT name, location, gid FROM courses
I think your INSERT statement is wrong, see correct syntax: http://dev.mysql.com/doc/refman/5.1/en/insert.html
edit: as Andrew already pointed out...