mysql返回空结果集甚至记录都存在

时间:2017-11-09 05:37:26

标签: select count phpmyadmin

我的查询:

template <typename Func, typename ...Args>
decltype(auto) apply_args(Func &&f, Args &&...args) {
    return f(std::forward<Args>(args)...);
}

下面是表格(trans_master):

enter image description here

1 个答案:

答案 0 :(得分:0)

尝试添加&#39;在你的约会之前和之后:

SELECT COUNT( bilno ) 
 FROM trans_master
WHERE dt
BETWEEN '25-10-2017'
AND '03-11-2017'
AND refid=1