问答 / 0 / 15 / 创建于 2年前
我想搜索 start_time 字段 大于0时候是需要小于当前时间,或者它等于0的情况,这sql应该如何写?
where start_time>0 and start_time<date('Y-m-d H:i:s')
你是要laravel的orm写法,还是mysql原生写法
我要举报该,理由是:
推荐文章: