我有一个带有'date = 2013-05-02,type = 1'等的mysql行。
然后我运行这个查询
SELECT date, type, status, rate
FROM reservation
WHERE type = 1
AND date BETWEEN 2013-05-01 AND 2013-05-08
ORDER BY date asc
LIMIT 0, 10
但这会返回空结果。这里的查询问题是什么?
我有一个带有'date = 2013-05-02,type = 1'等的mysql行。
然后我运行这个查询
SELECT date, type, status, rate
FROM reservation
WHERE type = 1
AND date BETWEEN 2013-05-01 AND 2013-05-08
ORDER BY date asc
LIMIT 0, 10
但这会返回空结果。这里的查询问题是什么?