02 2021 档案

MySQL基本操作
摘要:删除操作 1. 删除单个表中的数据 DELETE FROM <表名> [WHERE 子句] [ORDER BY 子句] [LIMIT 子句] 2. 删除表中的全部数据 DELETE FROM <表名> 修改操作 1. 修改字段默认值语法: alter table 表名 alter column 字段 阅读全文

posted @ 2021-02-12 16:27 PerfectData 阅读(32) 评论(0) 推荐(0) 编辑

MySQ将查询结果保存到表中
摘要:把查询的结果保存到新表中 insert into newtablename select * from tablename; 如果表不存在 creat table newtablename as select * from tablename; 阅读全文

posted @ 2021-02-12 09:33 PerfectData 阅读(84) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示