摘要: 1,删除原有主键: ALTER TABLE `table_name` DROP `id`; 2,添加新主键字段: ALTER TABLE `table_name` ADD `id` INT NOT NULL FIRST; 3,设置新主键: ALTER TABLE `table_name` MODIF 阅读全文
posted @ 2016-04-20 20:10 ZHOU YANG 阅读(2085) 评论(0) 推荐(0)
摘要: 摘自 stackoverflow 这是我的df: 怎样将mid这一列移动到第一列? Another method is to take a reference to the column and reinsert it at the front: 阅读全文
posted @ 2016-04-20 19:26 ZHOU YANG 阅读(65016) 评论(1) 推荐(0)