摘要:http://blog.csdn.net/p451933505/article/details/9272257 对Oracle中中文、数字、英文混杂形式的字段进行排序的方法: 例如: order by NLSSORT(字段名,'NLS_SORT = SCHINESE_PINYIN_M'), to_n
阅读全文
摘要:select * from(select animal,age,id,row_number()over(partition by animal order by age desc) row_numfrom zoo)where row_num <=5;http://bbs.csdn.net/topic...
阅读全文
摘要:1.准备环境drop tablespace jch8 including contents and datafiles;--jch801代表第8课create tablespace jch8 datafile '/u01/app/oracle/oradata/JCH2/jch801.dbf' size 50M;drop user jch8 cascade;create user jch8 identified by jch8 default tablespace jch8;grant dba to jch8;conn jch8/jch8drop table employee p
阅读全文