【发布时间】:2018-09-01 22:32:55
【问题描述】:
我得到了选择:
select c.ColA, c.ColB, c.ColC, c.ColD from table1 c
where c.ColB in (
select colX from table2 where colZ in ('test', 'test2') and colV = 3
);
我怎样才能同时显示来自 table2 的 ColV?
当我这样做时:
c.ColB in (select colX, colV from table2 where colZ in ('test', 'test2') and colV = 3)
我收到错误:00913. 00000 - “值太多”
【问题讨论】:
标签: sql oracle select subquery oracle12c