SELECT 主键或能代表当前行的列 FROM (
SELECT 主键或能代表当前行的列 ,重复的列 ,row_number() OVER(PARTITION BY 重复的列 ORDER BY 重复的列 DESC) RN
FROM tableName
) WHERE RN=1
如此读出的都是唯一的,通过RN=1将重复的去掉了。 如...
分类:
数据库 时间:
2014-10-23 20:47:02
阅读次数:
219
Description Golden ratio base (GRB) is a non-integer positional numeral system that uses the golden ratio (the irrational number (1+√5)/2 ≈ 1.61803399...
分类:
其他好文 时间:
2014-10-23 20:28:51
阅读次数:
350
1 #include 2 #include 3 #include 4 5 struct person{ 6 char *number; 7 char *name; 8 int score; 9 }; 10 11 int m...
分类:
编程语言 时间:
2014-10-23 19:12:05
阅读次数:
166
package android.util; import java.util.LinkedHashMap; import java.util.Map; /** * A cache that holds strong references to a limited number of ...
分类:
移动开发 时间:
2014-10-23 18:55:12
阅读次数:
177
pply OS : Windows, Mac, Linux
Apply Navicat Product : Navicat for Oracle, Navicat Premium
Apply Navicat Version No. : All
Instant Client package is required for Basic and TNS connection typ...
分类:
其他好文 时间:
2014-10-23 17:48:12
阅读次数:
374
public?static?void?main(String[]?args)?{
????????String?jsonStr?=?"{‘head‘:{‘version‘:‘1‘},‘dataList‘:{‘resCode‘:‘ss‘,‘list‘:[{‘name‘:‘file1‘,‘type‘:‘0‘},{‘name‘:‘file2‘,‘type‘:‘1‘}...
分类:
编程语言 时间:
2014-10-23 16:34:40
阅读次数:
305
Understanding and Using HRMS Security in Oracle HRMS
Product:Oracle Human Resources Minimum Version:11.5.9
An Oracle White Paper
Abstract
Understanding and Using HRMS Security in Oracle HRMS...
分类:
数据库 时间:
2014-10-23 16:21:41
阅读次数:
292
当DataGuard升级CPU后,发现主备库不能同步了,日志报错,所以在主库的执行的升级的后脚本“@catbundle.sql cpu apply”不能同步到备库
现象:
broker状态:
[oracle@webdb2 ~]$ dgmgrl sys/oracle
DGMGRL for Linux: Version 11.2.0.3.0 -64bit Production
...
分类:
数据库 时间:
2014-10-23 16:20:02
阅读次数:
294
主键约束;外键约束;唯一性约束;检查约束;默认值约束 -——————五大约束一、 主键约束;--创建表的主键约束 create table student (student_id number primary key,student_name varchar2(20),sudent_birthday...
分类:
数据库 时间:
2014-10-23 15:48:28
阅读次数:
291
svn: warning: W150002: '/Users/piercalex/svn/azzz/1' is already under version controlsvn: E200009: Could not add all targets because some targets are ...
分类:
其他好文 时间:
2014-10-23 15:46:52
阅读次数:
307