Update XXX Set AAA=AAA*0.8 From BBB Where AAA>1000 And AAA<=2000Update XXX Set AAA=(AAA-200)*0.8 From BBB Where AAA>2000