Access 中的 SQL 查询是什么,用于将所有列值替换为其中一个值,这取决于其他属性的值?

What is the SQL query in Access to replace all column values with one of it's values, which depends on values of other attributes?

假设我有以下 table T:

A | B | C
--+---+--
aa| ba| 1
ab| bb| 2
ac| bc| 3

什么是 SQL 查询以获得以下内容:

A | B | C
--+---+--
aa| ba| 2
ab| bb| 2
ac| bc| 2

为了澄清,我希望是这样的:

SELECT *
FROM T
WHERE /* specify to replace all entries of column C 
       with the value of C that corresponds to tuple
       where A="ab" AND B="bb" */
SELECT t1.A, t1.B, t2.C
FROM T t1, T t2
WHERE t2.A="ab" AND t2.B="bb"