侧边栏壁纸
博主头像
seems 博主等级

学习博客

  • 累计撰写 62 篇文章
  • 累计创建 41 个标签
  • 累计收到 0 条评论

目 录CONTENT

文章目录

ORACLE数据库操作

seems
2023-09-01 / 0 评论 / 0 点赞 / 13 阅读 / 0 字

1.数据库删除重复数据

delete from 表名 a
  where a.rowid !=
  (
  select max(b.rowid) from 表名 b
  where a.字段1 = b.字段1 and
  a.字段2 = b.字段2
  )

2.通过dual查询(使用函数)

select 7 from dual; 

3.获取32位UUID

SELECT REPLACE(uuid(), '-', '');
0

评论区