select a.f1, b.f3 from
(select f2, count(f1) f1 from tab_1 group by f2) a,
(select f2,f3 from tab_2) b
where a.f2 = b.f2
(select f2, count(f1) f1 from tab_1 group by f2) a,
(select f2,f3 from tab_2) b
where a.f2 = b.f2
解决方案 »
- 通过PL/SQL Developer中的ODBC Importer导数据时发生如下错误,各位高手帮忙看看什么原因?
- oracle 中如何利用oem进行数据库的备份?备份完之后 如何看备份到哪了呢?
- oracle改名后,无法登陆em
- linux虚拟机FTP问题
- Oracle中的语句级触发器,怎么实现禁止删除表dept中的记录.
- Oracle11g 内存持续增长
- trigger問題
- oracle for linux有没有oem?,像for nt的oem一样的图形化界面
- 数据库进程的有关问题
- 有类似substr的用于number型数据的函数吗?
- 为什么我的ProC在在运行时总是报..\..\..\LIB\MSVC\oraSQL9.lib : fatal error LNK1106: invalid file or disk full: cannot seek to 0x3
- PL/SQL中的类型问题
select (select count(字段1) from table1 where 字段2=a.字段2),字段3 from table2 a
按如下写法得到结果集,不知还有别的什么方法?
select count(字段1),(select 字段3 from 表2 where 字段2=b.字段2) from 表2 b group by b.字段2