关于access 多表根据条件查询的问题

2025-04-03 09:54:51
推荐回答(1个)
回答1:

可以用UNION
SELECT ID,A1,A2,a3,a4,"" as b1,"" as b2, "" as b3
from a表
union
SELECT ID,A1,A2,"" as a3,"" as a4, b1,b2, b3
from B表