摘要:
1.使用条件查询 查询部门为20的员工列表 -- 查询部门为20的员工列表 SELECT t.DEPTNO,t.ENAME FROM SCOTT.EMP t where t.DEPTNO = '20' ; 效果: 2.使用 listagg() WITHIN GROUP () 将多行合并成一行(比较常 阅读全文
摘要:
sql_item = "select rate_swap_id_sequence.nextval from (select 1 from DCS_FILE_RECORD where rownum <=%d)" % (num_data) 阅读全文
摘要:
select * from dcs_reserved_rnscb0609 c where c.dcs_id in (select dcs_id from (select RANK() over(partition by zqdm, zqjc, sj, xynx, jyfs, zxjz, zxsyl, 阅读全文
摘要:
select * from user_tables m where m.partitioned='YES' 阅读全文
摘要:
alter table dcs_reserved_tjxt_bbo set interval(numtoyminterval(1,'month')); 阅读全文