- 博客(4)
- 收藏
- 关注
原创 数据库语言
insert into students values(null,"张三",18,"男","12345678901",66.6,"重庆");insert into students values(null,"张三",18,"男","12345678901",66.6,"重庆");insert into students values(null,"张三",18,"男","12345678901",66.6,"重庆");声明字段的数量不限,名称不能是关键字,不能是中文,不能是纯数字,字段与数据。
2023-10-18 13:13:46 171 1
原创 数据查询学习
select s_id as "学号",s_name as "姓名",s_sex as "性别",s_tel as "电话",s_score as"分数",s_addr as"地址",s_createDate as"入学时间",select s_name as"姓名","重庆工职"as 学校名称 from students;select*from students where s_name like "_宝";select*from students where s_name like"_宝_";
2023-10-18 10:47:31 151 1
原创 数据操作语言
update students set s_name="小米" where s_score is not null;delete 是逐行删除,并保留了原有数据的占有空间,而truncate则是。清空了表结构和空间,并且delete会保留序列值,而truncate会将序列值初始化。update 表名 set 字段1=值,字段2=值,字段3=值where条件;update students set s_sex="男";(3)一次性向表中添加多条数据。(1)向指定表中填充数据。标题1:新增数据语法。
2023-10-15 17:06:27 63 1
原创 MySQL 5.7下载安装配置详细教程(对々不愿将就ぉ博客的补充)
如果你新建的文本文档没有转变成那个博客的样子,这就需要删除后缀名txt,显示不出来后缀名就需要如下操作。对于Windows11来讲,环境变量在下图找到。针对他的 4.
2023-09-13 18:06:28 89 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人