SQL:查询根据某一Id 查询数据库中出现的频次

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/pmdream/article/details/84991386
SELECT operationId,COUNT(1) a FROM `record` GROUP BY operationId ORDER BY a;

猜你喜欢

转载自blog.csdn.net/pmdream/article/details/84991386