oracle partition by 查询重复记录中的1条数据(获取表去重后的数据所有字段)
摘要:1,partition by 分组后给分组数据排序 select t.*,row_number() over(partition by t."name",t."rid" order by t."rid") as "sort" from "person" t; 2、获取去重后的记录 select t2
阅读全文
posted @
2023-07-26 14:32
李白菜
阅读(637)
推荐(0) 编辑
ORA-28000:the account is locked(Linux连接Oracle)
摘要:1,切换用户,连接oracle数据库 [root@dh-db-lsvwbF7y ~]# su - oracle [oracle@dh-db-lsvwbF7y ~]$ [oracle@dh-db-lsvwbF7y ~]$ sqlplus /nolog SQL*Plus: Release 11.2.0.
阅读全文
posted @
2022-02-16 17:40
李白菜
阅读(303)
推荐(0) 编辑