Нид хелп! MySQL, select, insert.
Есть запрос select и нужно в нем реализовать insert.
что-то типа sql-inj:
select * from tablename; insert into tablename values(1,2,3)
в одном запросе
но вся проблема в том, что на
select * from tablename; insert into tablename values(1,2,3)
ругается
вот точное сообщение
Query failedYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'insert into person_old values(1,2,3,4,5,6,7,8,9,10)