update ea_account ea join (
select id from ea_account where trader_id='99'
) as t set account='22' where ea.id=t.id
select id from ea_account where trader_id='99'
) as t set account='22' where ea.id=t.id
本文详细介绍了如何使用SQL查询更新ea_account表中trader_id为'99'的记录,将其account字段设置为'22'。通过执行此操作,可以精确地修改数据库中的特定数据,提高数据管理效率。
1560

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