我有一个查询,它返回来自用户的所有流帖子(带评论):FROM (SELECT * ORDER BY stream_ps_timestampsps.stream_ps_id = c.stream_ps_id_fk和另一个返回所有论坛帖子的查询ON qa.forum_qa_id = n.pidORDER BY qa
我有两个不同的表,我想从其中提取唯一ID的数量。`)) as `t2ID` FROM `table2` WHERE `condition`='true'SELECT COUNT(DISTINCT(`uniqueid`)) as `t1ID` FROM `table1`SELECT COUNT(DISTINCT(`uniqueid`)) as `