時間:2019-12-02來源:系統城作者:電腦系統城
select A.* from tb_mend_enrol A, ( select A.Typeid, A.address from tb_mend_enrol A group by A.Typeid, A.address having count (A.Typeid) >= 2 and count (A.address) >= 2 ) B where A.Typeid = B.Typeid and A.address = B.address and a.reporter= '測試' <br> and A.reptime >= to_date( '2018-08-01 00:00:00' , 'YYYY-MM-DD HH24:MI:SS' )<br> order by A.Address, A.reptime <br><br><br>方法二: |
select A.* from tb_mend_enrol A
where (select count(*) from tb_mend_enrol A1
where A1.Typeid = A.Typeid and A1.address=A.address)>1
and a.reporter='測試'
and A.reptime >= to_date('2018-08-01 00:00:00','YYYY-MM-DD HH24:MI:SS'
order by A.Address
2021-12-10
腳本之家分享解決線上Oracle連接耗時過長的問題現象2021-12-10
腳本之家分享解決Oracle 11g 導出數據報 “ORA-01455: 轉換列溢出整數數據類型”的問題2021-03-29
oracle 11g的安裝注意事項總結這篇文章主要介紹了CenterOs7 安裝oracle19c的方法,本文給大家介紹的非常詳細,對大家的學習或工作具有一定的參考借鑒價值...
2021-03-21
文章主要介紹了Oracle數據庫由dataguard備庫引起的log file sync等待,本文給大家介紹的非常詳細,對大家的學習或工作具有一定的參考借鑒價值...
2020-11-27