Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Influencer Load (2.1ms) SELECT influencers.*,
(
SELECT COUNT(fan_influencers.id) FROM fan_influencers
WHERE influencer_id = influencers.id
) AS fans_count
FROM "influencers"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment