Не поставяйте values()
в; http://dev.mysql.com/doc/refman /5.6/bg/insert-select.html
.
INSERT INTO temporarytransaction SELECT * FROM Transaction WHERE `Tdate` BETWEEN "2012-03-15" AND "2016-03-31";
Не поставяйте values()
в; http://dev.mysql.com/doc/refman /5.6/bg/insert-select.html
.
INSERT INTO temporarytransaction SELECT * FROM Transaction WHERE `Tdate` BETWEEN "2012-03-15" AND "2016-03-31";