摘要: 使用gruop by 分组1. 方式一:select name from table1 group by name; 注意:group by 两侧都应该含有name,例如select country,name from table1 group by country,name;左右两侧是相同的数据。2. 方式二:select name,count(age) from table1 group by... 阅读全文
posted @ 2019-03-22 23:53 lijia2019 阅读(250) 评论(0) 推荐(0) 编辑