- 博客(3)
- 收藏
- 关注
原创 【无标题】
学习目标: 修改表 数据库MySql 学习内容: 学习时间: 周一至周五晚上 7 点—晚上9点 周六上午 9 点-上午 11 点 周日下午 3 点-下午 6 点 学习产出: 加一个列 mysql> alter table test -> add age int(3) not null default 20; 2. mysql> updata test set name=‘jerry’ where id=2; 3.删除 delete from test where id=
2022-05-03 15:50:00
766
原创 Mysql表添加列
DQL:select *from 表名 where id=10 creat table sc(sno char(11)), ->cno varchar(20), ->cpmo varchar(20), ->; alter table sc ->add primary key(sno,sno); 一次添加多个值的方法 mysql> insert into test(id) values(6),(7),(8),(9),(10); 添加一行 mysql>
2022-05-03 14:57:11
1514
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人