select tA.id,(select tB.C from tA,tB where tA.C1=tB.id),(select tB.C from tA,tB where tA.C2=tB.id)
from tA
不知道效果怎么样
没试
from tA
不知道效果怎么样
没试
解决方案 »
- oracle sql developer
- 如何写这样的insert&update触发器
- ORACLE字符集问题 ORA-01756: quoted string not properly terminated
- 存储过程调用问题......急!!!!
- oracle like问题!!!!
- oracle8i 创建临时表
- 问个简单问题:如何查看一条语句的执行计划?
- 有点小问题!关于函数。急
- 两个用SQL语句批量更新数据的问题
- oracle里面如何知道一个游标的sql语法里面有多少个字段slect a,b,c from tablename 知道是3各字段
- 关于用sqlplus调用存储过程,救救小妹我吧
- 请教一条PL/SQL语句
select a.id,b.C as c1,d.C as c2 from tA a
left join tB b on b.id=a.c1
left join tB d on d.id=a.c2
select x.id, y.C, z.C
from tA x, tB y, tB z
Where y.id=x.c1 and z.id=x.c2