[此贴子已经被作者于2020-11-28 20:52编辑过]
UPDATE jgtzmx SET sm="" WHERE .T. SELECT DISTINCT hwmc,cyfd FROM jgtzmx WHERE !BETWEEN(cyfd,-0.3,0.3) INTO CURSOR tmp UPDATE jgtzmx SET sm="价格超出规定幅度" FROM tmp WHERE jgtzmx.hwmc==tmp.hwmc SELECT * FROM jgtzmx