what's wrong?


  • 0
    J

    select followee as follower, count(followee) as num from follow
    where followee in (select follower as followee from follow)
    group by followee
    order by follower

    not sure what's wrong with my answer?


  • 0
    C

    @JocelynLee said in what's wrong?:

    select followee as follower, count(followee) as num from follow
    where followee in (select follower as followee from follow)
    group by followee
    order by follower

    not sure what's wrong with my answer?

    I have exactly same code as yours. Not sure where is wrong?? If you already know, could you let me know?


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.