PostgreSQL将一列的所有值更新为大写

PostgreSQL将一列的所有值更新为大写,sql,postgresql,Sql,Postgresql,我有一个表:Customer和column=[姓名、姓氏、语言] 我想将所有语言列的值更新为大写,我该怎么做 我见过upper()方法,但它用于选择操作。我需要更新。你的确切意思有点不清楚,但听起来好像你在寻找: update customer set language = upper(language); 这将更新表customer中所有行的列language为大写。是否可以包含当前查询?

我有一个表:Customer和column=[姓名、姓氏、语言]

我想将所有语言列的值更新为大写,我该怎么做


我见过upper()方法,但它用于选择操作。我需要更新。

你的确切意思有点不清楚,但听起来好像你在寻找:

update customer
   set language = upper(language);

这将更新表customer中所有行的列
language
为大写。

是否可以包含当前查询?