dbf能不能做到set xx=xx where xx=qq的功能解决方案

dbf能不能做到set xxxx where xxqq的功能由于项目需要 要把一个dbf文件更新能不能这样set 字段a ‘已婚’

dbf能不能做到set xx=xx where xx=qq的功能
由于项目需要 要把一个dbf文件更新
能不能这样
set 字段a =‘已婚’
where 字段b>25岁 and 字段a is null
and
set 字段a =‘未婚’
where 字段b>=25岁 and 字段a is null
那位大侠帮忙下

[解决办法]
可以!

update tableName 
set 字段a =‘已婚’
where 字段b>25岁 and 字段a is null