摘要:
1> from 2> on 3> join 4> where 5> group by 6> with cube 或 with rollup 7> having 8> select 9> distinct 10> order by 11> top 阅读全文
posted @ 2019-05-09 23:28
滴八阿哥
阅读(59)
评论(0)
推荐(0)
摘要:
select //tsage, 错误 //sum(tsage), 正确 性别=tsgender, 人数=count(*) from Tb_Student group by tsgender 当使用分组语句 group by 或者聚合函数时,在select的查询列表中不能包含其他的列名,除非该列同时也 阅读全文
posted @ 2019-05-09 23:16
滴八阿哥
阅读(107)
评论(0)
推荐(0)