(select `id` from table where uid = 2 order by createtime desc limit 3) UNION ALL (select `id` from table where uid = 3 order by create...