一些小技巧

select case when (a.start_time is  null or a.end_time is null) then '0' else '1' end, a.start_time,a.end_time from project_cust_info a

你可能感兴趣的:(null,小技巧)