SQL同一个字段出现null和0值,有何区别,原因是什么?left join导致null值出现,case when导致0值出现

-- 1.表结构-- create table visit_hist( -- customer_id int comment '客户id' -- ,visit_date int comment '访问日期' -- ) -- 2.造测试数据 -- insert into visit_hist(cust
posted @ 2021-12-02 15:07  morein2008  阅读(329)  评论(0编辑  收藏  举报