请检查下面的查询。
update product set product_price = 5 where product_price = 0
ERROR: syntax error at or near "set" at character 45
SQL错误:
ERROR: syntax error at or near "set" at character 45
在声明中:
SELECT COUNT(*) AS total FROM (update product set product_price = 5 where product_price = 0) AS sub
我不知道为什么我会收到这个错误。请帮我。