Query For Replce数据库表中的值 [英] Query For Replce the value in database table
本文介绍了Query For Replce数据库表中的值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一张桌子和桌子有很多字段
喜欢名字,用户名,名称
i想要从新值中替换它的值
I have a table and the table having many fields
like name ,username ,designation
i want to replace its value from new values
推荐答案
检查下面的示例并根据以下内容进行更改您的方案。
Check below sample and change it according to your scenario.
UPDATE Customers
SET ContactName='Alfred Schmidt', City='Hamburg'
WHERE CustomerName='Alfreds Futterkiste';
欲了解更多信息: SQL UPDATE Statement
我希望这会对你有所帮助。
For more info : SQL UPDATE Statement
I hope this will help to you.
这篇关于Query For Replce数据库表中的值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文