Вот так?
select
CONCAT(t1."y", '-',t1."m") as yd
,t1."id"
,t1."c"
from
(
select
id_member "id",
YEAR(FROM_UNIXTIME(poster_time)) "y" ,
MONTH(FROM_UNIXTIME(poster_time)) "m" ,
count(*) "c"
from messages
group by id_member, YEAR(FROM_UNIXTIME(poster_time)) ,MONTH(FROM_UNIXTIME(poster_time))
) t1
where t1."y" = '2015'