Update E_Subjectinfo A Set A.For_Stage='Y'
Where A.rowid=(Select Max(B.rowid) From E_Subjectinfo B Where A.Subjectname=B.Subjectname And A.Teachstage=B.Teachstage
) and
a.teachstage='0000000000000003'
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/9240380/viewspace-668568/
,如需转载,请注明出处,否则将追究法律责任。