
oracle
dcchencsdn
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
ORACLE 数据库的级联查询语句
在ORACLE 数据库中实现级联查询:select * //要查询的字段from table //具有子接点ID与父接点ID的表 start with selfid=id //给定一个startid(字段名为子接点ID,及开始的ID号)connect by prior selfid=parentid /原创 2015-11-13 14:22:41 · 692 阅读 · 0 评论 -
oracle update select (更新查询的sql)
(1).update tableName set (a,b,c)=(select a,b,c from ida where ida.id=tableName.id);(2).update tableName t1 set a=(select t2.a from ida t2 where t1.id=t2.id),b=(原创 2016-04-27 20:21:15 · 38973 阅读 · 0 评论