sql语句中一些函数的用法

一、group by:https://blog.csdn.net/hengji666/article/details/54924387

二、group_conca和SUBSTRING_INDEX的使用:https://blog.csdn.net/u011280342/article/details/78285608

三、group by 与having、order by 一起使用是要遵守一定原则的:

                       1.order by 、having的列,必须是出现在group by 子句里的列

                     2.order by,having 要 放在 group by的 后面

猜你喜欢

转载自blog.csdn.net/a274537260/article/details/80079902