那要看你的日期格式是什么了。如果是datetime就简单
select * from table1 where mydate>date1 and mydate<date2

解决方案 »

  1.   

    上楼的对,也可以这样写:
    select * from table where mydata between date1 and data2
      

  2.   

    lion_wing(太阳刀) 的标准些!
      

  3.   

    select * from table1 where mydate>date1 and mydate<date2
      

  4.   

    如果是日期型数据用lion_wing(太阳刀) ,如果是数字型数据用Cooly(苦力) ,如果都不是,先转换。
      

  5.   

    select * from TABLENAME where DATE1<'日期' and DATE2 >'日期'
      

  6.   

    between ...and...速度会慢的,还是用><号吧。