【发布时间】:2013-05-29 09:56:47
【问题描述】:
对不起标题,我不知道如何更好地解释它......
我有一个论坛,我想用 php 制作一种成就系统
我想知道有帖子的用户何时发布了他们的第 10 条消息...
post 表是这样的
post_id | post_date | userid | post_message | ...
我可以为每个用户得到这个结果
select userid, post_date from posts where userid=1 order by post_date limit 9,1
但我需要一个类似的结果集
id | date
id | date
id | date
只能通过程序来完成?
【问题讨论】:
-
你想要eash用户的第10个帖子吗??
-
你在寻找的字段标题应该不同吗?