Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
SELECT 1.0 + SUM((1.0 + #{p} * tunkrank_score) / (1.0 + num_friends)) AS tunkrank_score
FROM twitter_users
INNER JOIN twitter_id_follows ON (twitter_users.twitter_id = twitter_id_follows.follower_twitter_id)
WHERE twitter_id_follows.user_twitter_id = #{twitter_id};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment