sql 语句问题,关于BETWEEN AND 和DATE 的
我想要查询日期1到日期2之间的所有记录,应该怎么写sql语句SELECT*FROMfamilyWHERE`date`BETWEEN2011-05-06AND2011-05...
我想要查询 日期1 到日期2之间的所有记录,应该怎么写sql语句
SELECT *
FROM family
WHERE `date`
BETWEEN 2011 -05 -06
AND 2011 -05 -10
ORDER BY `id`
LIMIT 0 , 10 结果显示无记录为什么?我明明有记录 展开
SELECT *
FROM family
WHERE `date`
BETWEEN 2011 -05 -06
AND 2011 -05 -10
ORDER BY `id`
LIMIT 0 , 10 结果显示无记录为什么?我明明有记录 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询