update 表名 set 列名='值'  where  条件,注意NULL不加引号
update titles_test set to_date=NULL,
from_date='2001-01-01'
where to_date='9999-01-01'