?
MYSQL不是不支持子查询吗?

解决方案 »

  1.   

    select distinct * from A1 where create_time create_time >= '2002-07-01' and create_time < '2002-07-02'
      

  2.   

    select distinct * from A1 where create_time >= '2002-07-01' and create_time < '2002-07-02'
      

  3.   

    mysql的“与”运算符是 "&&",而不是 "and",在mysql3.23以前的版本不支持子查询,以后的版本我就不太清楚了,可以mysql的网站上查相关技术资料。
      

  4.   

    修正上面的:mysql较新版本也能识别“and”
      

  5.   

    mysql 4.0支持自查询,视图,联合查询等等期待把