SQL数据库中:分支语句和循环语句各自可以嵌套,也可以相互嵌套。这个
2016-07-05
展开全部
可以多个嵌套,但是只要一个条件不满足结果都查询不到,你把语句写出来看下
Update Table Set a='5' Where b=
(Select b
From Table
Where c In (Select c
From Dmpedi.Pps_Temp
Where b = '2'
And Rownum < 5)
And Rownum = 1)
Update Table Set a='5' Where b=
(Select b
From Table
Where c In (Select c
From Dmpedi.Pps_Temp
Where b = '2'
And Rownum < 5)
And Rownum = 1)
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询