SQL查询两个时间之间的记录

"select * from cases where date between '"&bdate&"' and '"&edate&"' order by id desc"
这样有错吗
//bdate开始时间
//edate结束时间
select * from cases where [date] > bdate and [date] < edate order by id desc
也不行

第1个回答  2008-11-01
select * from caiwu where date<='"&edate&"' and date>='"&bdate&"' order by id desc"
第2个回答  2008-11-01
select * from cases where [date]<='"&edate&"' and [date]>='"&bdate&"' order by id desc"
相似回答