摘要: mysql中时间字段datetime怎么判断为空和不为空一般为空都用null表示,所以一句sql语句就可以。select * from 表名 where 日期字段 is null;这里要注意null的用法,不可以用=null这样的形式表示。相反,要取出不为空的数据,就是is trueselect * 阅读全文
posted @ 2023-03-20 11:24 hbg-rohens 阅读(84) 评论(0) 推荐(0) 编辑