写法不是这样的~~建议先去看看mysql开发手册~~

解决方案 »

  1.   

    SELECT * FROM luntan_text where (startdate>=2006-04-11) AND (startdate<2006-04-12)
    应该是
    SELECT * FROM luntan_text where (startdate>='2006-04-11') AND (startdate<'2006-04-12')
    吧?
      

  2.   

    startdate BETWEEN 2006-04-11 AND 2006-04-12
      

  3.   

    SELECT * FROM luntan_text where (startdate>=2006-04-11) AND (startdate<2006-04-12)
    应该是
    SELECT * FROM luntan_text where (startdate>='2006-04-11') AND (startdate<'2006-04-12')
    吧?-----------------------------------------------------------------------------------------------------------------------------就是这样写的