如何在SQL語句select中根据某个字段值,修改另一个字段的值

select customer_id, case when points >3000 then points=0 else points end as points from customers;
相关文章
相关标签/搜索