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

select customer_id, case when points >3000 then points=0 else points end as points from customers;
相關文章
相關標籤/搜索