请问 ,我现在有4个表,分别是表A 表B 表C 表D,这4个表中都ST这个字段,请问,我怎么用一个SQL语句查出这4个表中ST这个字段相同的数据。在线等,摆脱大家了 ,我是新手!
解决方案 »
- oracle 10g 的 组合分区 range-list 如何高效呢?
- 省,市,镇,村 四级字典表怎样建表呢
- 从asp用ado连接oracle数据库,但是取出的日文是乱码,怎么办?
- oracle8.016安装时的问题!!急~~~~~~
- oracle双机热备怎么装?急!!
- oracle 如何判定DBA的验证方式?
- ORA-06502错误
- 如何将任意格式的数据(Excel,FoxPro,Access,SQL-Server......)导入Oracle?
- 安装oracle8.17提示‘无法建立Inventory目录,你可能没有相应的权限’?是怎么回事?
- 跨表查询的问题
- 关于Oracle的两个很低级但是我不会的问题
- 存储过程返回值问题
where a.st=b.st and b.st-=c.st and c.st=d.st
from a ,b,c,d
where a.st=b.st and a.st=c.st and a.st=d.st;
from a ,b,c,d
where a.st=b.st and a.st=c.st and a.st=d.st;这种写法已经很好了,但要注意的是你要已那个表作为主表,为了性能最好用记录少的表