请用以下sql:
select collection_id,receipt_num from Qa_Results where collection_id in
( select collection_id from Qa_Results where RECEIPT_NUM = '304110034')
order by collection_id,receipt_num
select collection_id,receipt_num from Qa_Results where collection_id in
( select collection_id from Qa_Results where RECEIPT_NUM = '304110034')
order by collection_id,receipt_num
解决方案 »
- 求高手帮写个效率比较好的查询语句!!!!
- Oracle 时间格式的问题
- 百度的题,有5道,这2道不知道该如何做,请高手帮忙!
- "SYS"."DBMS_REPCAT_RPC",这个对象怎么会不存在呢?
- 存储过程中如何应用select语句,在线等
- 请问number和double类型的默认长度是多少啊?
- SQL中有时候出现的(+)代表什么意思?最好能有例子说明,谢谢
- Sql server中的语法如何转成oracle中的,问题如下
- 大哥请指教关于Oracle的Procedure
- Oracle如何获取刚插入表的那条记录
- 求Delete语句,删除前需判断是否存在(急,立刻结)。
- 一个触发器的问题,请高手指教
from Qa_Results A,
(select collection_id from Qa_Results where RECEIPT_NUM = '304110034') B
where A.collection_id = B.collection_id