which database backend you are using? and is the quote char in the of true a type error?
my database is Access
this code working
UPDATE t2 SET math =(math-2)
but when i add the condition i have an error
UPDATE t2 SET math =(math-2) WHERE T1.K=True // the error in T1.k=true