发布网友 发布时间:2022-04-29 19:46
共3个回答
懂视网 时间:2022-04-30 00:08
* from (select count(1) rightCount from (select * from (select * from mic_td_exercise_push_problem mp where mp.push_id = 347 order by mp.create_time desc) where rownum <= 3) t1 where t1.is_correct = 1), (select count(1) wrongCount from (select * from (select * from mic_td_exercise_push_problem mp where mp.push_id = 347 order by mp.create_time desc) where rownum <= 3) t1 where t1.is_correct = 2)将两个查询结果进行联合查询,就得到了一条记录,两个向要的结果。
oracle将两个结果连接后进行查询,得到两个查询的联合结果
标签:
热心网友 时间:2022-04-29 21:16
应该是不行的热心网友 时间:2022-04-29 22:34
可以合并的