update titles_test 
set to_date =NULL,from_date="2001-01-01"
where to_date="9999-01-01"

基础语法

update 表名

set 指定要更新的字段及对应新值

where 过滤