Reusing functions is nice! :P
The query with a sub-select looks "easier"
Some rewriting of the dbMostLikedTopic function