用sql语句修改表的数据,该怎么处理

用sql语句修改表的数据
第三个小问题怎么做
------解决方案--------------------
update tb set col1=2 where col2=xx
------解决方案--------------------
update table1 set colName=123