摘要: 1、* 查询出表中所有字段的数据 2、 as 给字段取别名 3、distinct 查询时过滤掉重复的数据 4、count 统计条数,比如统计表里有多少条数据,可用count(1)也可用count(*) 5、round对数据进行四舍五入 select student.cname,round(sum(s 阅读全文
posted @ 2021-07-20 21:36 萱娃 阅读(2561) 评论(0) 推荐(0) 编辑