sql_update_仅更新高中学段科目仅一个记录为'Y'_for_stage

 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'
请使用浏览器的分享功能分享到微信等