![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mysql
文章平均质量分 68
吃鱿鱼的大叔
这个作者很懒,什么都没留下…
展开
-
python连接数据库
2.创建游标,操作数据库;原创 2024-01-24 18:06:38 · 637 阅读 · 1 评论 -
数据库基本操作
select count(* )as ‘总数’,sex as ‘性别’ from student3 where age>=28 group by sex having count(*)>2;select count(*)as ‘统计’,sex ‘性别’ from student3 group by sex;insert into kkdb.student(name,age,sex)value(‘小红’,18,‘女’),(‘小红2’,18,‘女’);#男女英语成绩平均值。#查询成绩大于80分的学生;原创 2024-01-23 15:21:43 · 1002 阅读 · 1 评论