11 2024 档案

摘要:![](https://img2024.cnblogs.com/blog/3475803/202411/3475803-20241124213629329-326373496.png) ![](https://img2024.cnblogs.com/blog/3475803/202411/3475803-20241124222414703-565496393.png) ![](https://im 阅读全文
posted @ 2024-11-24 22:48 软工李文轩 阅读(5) 评论(0) 推荐(0) 编辑
摘要:排序查询 select DISTINCT * from stu order by age asc,math desc;(在stu表中按照年龄升序排列(默认为升序排列),如果年龄一样,按照数学成绩降序排列) 分组查询 select DISTINCT 聚合函数名(列名) from stu 聚合函数 co 阅读全文
posted @ 2024-11-23 13:50 软工李文轩 阅读(3) 评论(0) 推荐(0) 编辑
摘要:查询信息 select (列名) from (表名); 去除重复记录 select distinct (列名) from (表名); 可以在查询表格中将列名替换 select distinct (列名)as(替换后的名字 ) from (表名); 条件查询 select (列名) from (表名) 阅读全文
posted @ 2024-11-18 15:21 软工李文轩 阅读(8) 评论(0) 推荐(0) 编辑

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