SQL: [281] select * ,((select count(*) from posts_like where posts_like.postid=posts.postid)+(select count(*) from posts_comment where posts_comment.postid=posts.postid)) as dummyrate from posts where post_type IN ('text','link') AND privacy='public' order by dummyrate desc limit -15, 15
Params: 0