易截截图软件、单文件、免安装、纯绿色、仅160KB

同时读取access两张表

请教
在access中 我有表1
id1    id2      id3      id4
  1      2      3        0
  2      2      3        1

表2
  id0  ad1  ad2  ad3 ad5  ad6
  1  2  3    4  5    6

我想同时读取两张表的内容。
  我开始用  selecet 表1.*,表2。* from 表1,表2 where id1 = id0
.这样好像不行。
然后  带有 union 联合查询。不过需要 两表读取的列相同。
  然后我就 没办法了。请教大侠门帮我看看。


如需要阅读该回复,请登录或注册CSDN!




相关问答:

php 使用 ADODB 连接Access 的问题

<?php

include("adodb/adodb.inc.php");

$db = &NewADOConnection("access");
$access = realpath("Data.mdb");
$dsn = "Provider=Microsoft.J ......

ACCESS数据库关联查询问题?

初用ACCESS数据库,要实现一个关联查询,sql语句如下:select pid,product_Type.name as tid,name,img_url,context,remark from Product join product_Type on product.type_id = product_Type.type_id order by pid ......

access过滤问题,有请大侠们

sql语句:
SELECT  top 12  Forum.ID,Forum.topic,Reforum.id,Reforum.username,Reforum.posttime,Reforum.postip,Forum.username from Forum INNER JOIN Reforum ON Forum.ID = Reforum.topicid wher ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号