postgres 判断字段为空并给默认值

阅读 101

2022-08-01

select coalesce(company_id,0)
from stock_quant;

懂得,原来世界如此简单!



相关推荐

精彩评论(0)

0 0 举报