Hi, I am trying to do a SELECT that has two INNER Join tables in it but it comes back with a Syntax error. I can do the same statement with MS SQL and it works but is the Access syntax different? The SELECT statement is:
SELECT * FROM PROD_SUBS
INNER JOIN PRODUCTS ON products.productID = PROD_SUBS.productID
INNER JOIN SUBCATEGORIES on subcategories.subcategoryID = PROD_SUBS.subCategoryID
ORDER BY PROD_SUBS.subCategoryName
Does anyone know the correct syntax? Or can you not join three tables with Access?
SELECT * FROM PROD_SUBS
INNER JOIN PRODUCTS ON products.productID = PROD_SUBS.productID
INNER JOIN SUBCATEGORIES on subcategories.subcategoryID = PROD_SUBS.subCategoryID
ORDER BY PROD_SUBS.subCategoryName
Does anyone know the correct syntax? Or can you not join three tables with Access?