用分区视图!create view 名 as
select * from score1999
union all
select * from score2000在用 select * from 名 where ....

解决方案 »

  1.   

    select * FROM TABLE1 where riqi> and riqi<
    UNION ALL
    select * FROM TABLE1 where riqi> and riqi< 建视图
      

  2.   

    select * from score1999
    union all
    select * from score2000
    union all
    ....
      

  3.   

    如果你不想用视图:select * from (select * from score1999 union all select * from score2000) tem where 你的条件效率可能会底一点!