Why so many question marks? Is it a SUPER-QUESTION?
Just above that piece of the query, it says:
Whos likes are counted when calculating points for likes: must had been a writer in last 2 months and had gained level 1 before the contest started
In my Discourse setup, Trust Level 1 badge has ID = 1 — I would like only those granted Trust Level 1 be accepted likers, thus:
WHERE badge_id = 1
Makes sense?