1. 正常使用update更新单条记录,则在set内容后增加where子句
  2. 将to_date列值更新成null,使用to_date=null 而非 is null,注意

正确答案

update titles_test SET to_date = NULL,from_date='2001-01-01'