When I try to execute following query:
SELECT id_subscriber INTO newsletter_to_send FROM subscribers
I get an error:
MySQL Server doesn't support the SELECT ... INTO TABLE Sybase SQL extension. Instead, MySQL Server supports the INSERT INTO ... SELECT standard SQL syntax, which is basically the same thing. See Section 12.2.5.1, “INSERT ... SELECT Syntax”.
Ref:- this