select a,b,c,... from t_x where date>2000 or date>2000;
用or连接两个条件

解决方案 »

  1.   

    select a,b,c,... from t_x where date>2000 or date>2000

    select a,b,c... from t_x
    where date>2000
    union
    select a,b,c... from t_x
    where date>2002
      

  2.   

    也可这样:select a,b,c,... from t_x where date between n and m;
      

  3.   

    我觉得也是,只要date>2000这个条件不就可以了吗???
      

  4.   

    只用where date>2000就行了
      

  5.   

    select a.*,b,* from (select a,b,c... from t_x where date>2000) a,(select a,b,c... from t_x where date>2002) b where a.id=b.id;