57,064
社区成员
发帖
与我相关
我的任务
分享select T.user_id '姓名',count(*) '沙发数',group_concat(T.topic_id) 'topic_id'
from (
select *
from comments A
where not exists (select 1 from comments where A.rowdate<rowdate and A.topic_id=topic_id)
)T
group by T.user_id