I test this in Access 2013 and says there is an error, but it does not specify which one.
SELECT DISTINCT factura.n_factura, factura.data, factura.import, factura.concepte, departament.nom, programa.nom, despesa.nom, emisor.nom, destinatari.nom
FROM factura
INNER JOIN departament ON factura.departament = departament.codi
INNER JOIN programa ON factura.programa = programa.codi
INNER JOIN despesa ON factura.despesa = despesa.codi
INNER JOIN emisor ON factura.emisor = emisor.codi
INNER JOIN destinatari ON factura.destinatari = destinatari.codi;
I have tried the examples of MSDN and it is very annoying to see how bad the official documentation of Microsoft is.
How can I nest the JOIN
without errors?