select * from T_CONVERT where businessid='423' and convert_time>20101001000000 and convert_time<20101007240000
查询出结果后要对一些特定的列进行修改,当时犯迷的地方是:认为不能根据将要修改的字段更新此字段
update t_convert set subbusiness_id =505 where subbusiness_id =506 and convert_time>'20101001000000' and convert_time<'20101007245959'
本文介绍了如何使用SQL进行数据查询及更新操作,包括查询指定业务ID及时间范围内的记录,并探讨了更新表中特定字段的方法。
5402

被折叠的 条评论
为什么被折叠?



