MySQL does not support SELECT INTO [table]
. It only supports SELECT INTO [variable] and can only do this one variable at a time.
What you can do, however is use the CREATE TABLE syntax with a SELECT
like so:
CREATE TABLE bar ([column list]) SELECT * FROM foo;