我刚刚写了一个查询,它显示来自mysql的数据完美,但过了一会儿,当我运行相同的查询时,输出显示为“MySQL返回一个空的结果集即零行)“。嘿一个不希望的错误发生在mysql
我不知道它为什么会发生。 我正在做两个表的INNER JOIN。
SELECT
tbl_customer_conversation.follow_date,
tbl_customer_conversation.status,
tbl_customer_conversation.user_id
FROM
tbl_customer_conversation
INNER JOIN
tbl_lms_user
ON
tbl_customer_conversation.user_id=tbl_lms_user.user_id
where
tbl_customer_conversation.follow_date= DATE(NOW())
AND
tbl_lms_user.first_name = 'Be';
请不要在评论中发布代码。编辑你的问题。 – 2012-04-17 19:19:04
phpmyadmin说“MySQL返回了一个空的结果集(即零行)”。但数据存在于这些表格中。几分钟前,一切正常工作 – Thompson 2012-04-17 19:22:38
如果它工作了一阵子,也许这部分是罪魁祸首? tbl_customer_conversation.follow_date = DATE(NOW()) – 2012-04-17 19:25:22