
1 RedBeanIce 2020-09-25 12:38:46 +08:00 一个表三个字段,id, username, password 不写*,写三个字段 然后 'null', 'username', 'password' 类似下面这种 insert into sys_userinfo (id, userCode, username, password) select null, 123456, 'username', 'password' from t_product; |
2 tydl 2020-09-25 12:56:04 +08:00 navicat 工具 1.导出原表的 excel 2.用 excel 打开,删除 id 列 3.导入 excel 追加新表里 |
3 levelworm 2020-09-25 13:09:36 +08:00 via Android 呃,可能我理解错了,但是 datagrip 可以直接展开所有字段?然后删除 id 就好了吧。 |
4 hooopo 2020-09-25 13:10:56 +08:00 select *, null as id |