Код: Выделить всё
CREATE TEMPORARY TABLE ttt
AS SELECT :id FROM dual;
Почему переменные не заменяются на значения?You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':id FROM dual' at line 2