在MYSQL中不支持

SELECT * INTO B FROM A

僅支持

CREATE TABLE B SELECT * FROM A

 

 

 

test' at line 1
mysql> use test
Database changed
mysql> drop table if exists c;
Query OK, 0 rows affected (0.03 sec)

mysql> select * into c from a;
ERROR 1327 (42000): Undeclared variable: c
mysql> create table c select * from a;
Query OK, 82 rows affected (0.06 sec)
Records: 82  Duplicates: 0  Warnings: 0

相关文章:

  • 2021-12-29
  • 2021-06-14
  • 2021-05-18
  • 2022-12-23
  • 2022-01-13
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-05-24
  • 2021-12-23
  • 2022-03-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案