Select n from a1
union all
select n from a2
union all
select n from a3
union all 
select n from a4

解决方案 »

  1.   

    select * from (
    select * from 表1
    union all
    select * from 表2
    union all
    select * from 表3
    union all
    select * from 表4
    ) tem wehre n>56
      

  2.   

    大力,是要先读a1表,n字段得内容依次用 or 连接起来,放入变量z1中,然后再读a2表,把里面得n字段得内容依次读出来,用or 连接起来放入z2中,然后把z1,z2 用 and 连接
      

  3.   

    select * from a1 union
     select * from a2 union
     select * from a3 union
     select * from a4