急!!!!!!
高分!!!
8 个解决方案
#1
1:你可以先建个视图 V
select * from a union select * from b union select * from c
union select * from d
然后select * from V where ....
2:
select * from a where ...
union select * from where ...
b union select * from c where ...
union select * from d where ....
select * from a union select * from b union select * from c
union select * from d
然后select * from V where ....
2:
select * from a where ...
union select * from where ...
b union select * from c where ...
union select * from d where ....
#2
1:你可以先建个视图 V
select * from a union select * from b union select * from c
union select * from d
然后select * from V where ....
2:
select * from a where ...
union select * from where ...
b union select * from c where ...
union select * from d where ....
select * from a union select * from b union select * from c
union select * from d
然后select * from V where ....
2:
select * from a where ...
union select * from where ...
b union select * from c where ...
union select * from d where ....
#3
1:你可以先建个视图 V
select * from a union select * from b union select * from c
union select * from d
然后select * from V where ....
2:
select * from a where ...
union select * from where ...
b union select * from c where ...
union select * from d where ....
select * from a union select * from b union select * from c
union select * from d
然后select * from V where ....
2:
select * from a where ...
union select * from where ...
b union select * from c where ...
union select * from d where ....
#4
用query+union+query试试看。(SQL Server有这个,Access就不知道了)
#5
是不是先建一个临时的表吗?
其中的union是什么意思?请coowoo指教!
其中的union是什么意思?请coowoo指教!
#6
是不是先建一个临时的表吗?
其中的union是什么意思?请coowoo指教!
其中的union是什么意思?请coowoo指教!
#7
第一种方法先建一个视图(view),(不是临时表)在查询中新建
第二种方法可以不见视图
union 是操作符是指把一个以上的结构相同的表或视图合并为一个结果,你可以把这个
结果看作是一个表或视图,不过在执行update 语句是有点不一样
第二种方法可以不见视图
union 是操作符是指把一个以上的结构相同的表或视图合并为一个结果,你可以把这个
结果看作是一个表或视图,不过在执行update 语句是有点不一样
#8
用四个记录集来保存4个表内容不就得了(如果表之间没关联)
然后通过四个循环do until rs.eof 把他们读出来不就得了
然后通过四个循环do until rs.eof 把他们读出来不就得了
#1
1:你可以先建个视图 V
select * from a union select * from b union select * from c
union select * from d
然后select * from V where ....
2:
select * from a where ...
union select * from where ...
b union select * from c where ...
union select * from d where ....
select * from a union select * from b union select * from c
union select * from d
然后select * from V where ....
2:
select * from a where ...
union select * from where ...
b union select * from c where ...
union select * from d where ....
#2
1:你可以先建个视图 V
select * from a union select * from b union select * from c
union select * from d
然后select * from V where ....
2:
select * from a where ...
union select * from where ...
b union select * from c where ...
union select * from d where ....
select * from a union select * from b union select * from c
union select * from d
然后select * from V where ....
2:
select * from a where ...
union select * from where ...
b union select * from c where ...
union select * from d where ....
#3
1:你可以先建个视图 V
select * from a union select * from b union select * from c
union select * from d
然后select * from V where ....
2:
select * from a where ...
union select * from where ...
b union select * from c where ...
union select * from d where ....
select * from a union select * from b union select * from c
union select * from d
然后select * from V where ....
2:
select * from a where ...
union select * from where ...
b union select * from c where ...
union select * from d where ....
#4
用query+union+query试试看。(SQL Server有这个,Access就不知道了)
#5
是不是先建一个临时的表吗?
其中的union是什么意思?请coowoo指教!
其中的union是什么意思?请coowoo指教!
#6
是不是先建一个临时的表吗?
其中的union是什么意思?请coowoo指教!
其中的union是什么意思?请coowoo指教!
#7
第一种方法先建一个视图(view),(不是临时表)在查询中新建
第二种方法可以不见视图
union 是操作符是指把一个以上的结构相同的表或视图合并为一个结果,你可以把这个
结果看作是一个表或视图,不过在执行update 语句是有点不一样
第二种方法可以不见视图
union 是操作符是指把一个以上的结构相同的表或视图合并为一个结果,你可以把这个
结果看作是一个表或视图,不过在执行update 语句是有点不一样
#8
用四个记录集来保存4个表内容不就得了(如果表之间没关联)
然后通过四个循环do until rs.eof 把他们读出来不就得了
然后通过四个循环do until rs.eof 把他们读出来不就得了