我有这样的查询(在Access 2016中):
SELECT r01.Comuni, r01.Beneficiari, r02.Ricorsi, r03.[Ricorsi Urgenti],
r04.Istanze, r05.Rendiconti, r06.Consulenze, r07.Pratiche
FROM r07 RIGHT JOIN (r06 RIGHT JOIN (r05 RIGHT JOIN (r04 RIGHT JOIN (r03 RIGHT
JOIN (r02 RIGHT JOIN r01 ON r02.comune = r01.Comuni) ON r03.comune =
r01.Comuni) ON r04.comune = r01.Comuni) ON r05.comune = r01.Comuni) ON
r06.comune = r01.Comuni) ON r07.comune = r01.Comuni
ORDER BY r01.Comuni;
这就是我得到的:
我想要得到的是这样的:
基本上,我想得到:
有什么想法吗?