Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 515 Bytes

File metadata and controls

30 lines (20 loc) · 515 Bytes

English Version

题目描述

None

解法

SQL

SELECT followee AS follower,
        count(distinct(follower)) AS num
FROM follow
WHERE followee IN
    (SELECT follower
    FROM follow)
GROUP BY  followee
ORDER BY  followee