In Access you need parentheses when you have more than one join:
FROM (drugs as a
INNER JOIN warehouse as b
ON a.ID = b.drug_id)
INNER JOIN pharmacy as c
ON b.drug_id = c.drug_id
More Related Contents:
- How to simulate UNPIVOT in Access?
- Top n records per group sql in access
- Achieving ROW_NUMBER / PARTITION BY in MS Access
- CONCAT equivalent in MS Access
- Get Parent with multiple children in desc order
- Aggregate columns with additional (distinct) filters
- How to avoid the “divide by zero” error in SQL?
- How do I do top 1 in Oracle? [duplicate]
- Multiple INSERT statements vs. single INSERT with multiple VALUES
- Using an ORM or plain SQL? [closed]
- Database Structure for Tree Data Structure [closed]
- Concatenate multiple result rows of one column into one, group by another column [duplicate]
- sql ORDER BY multiple values in specific order?
- Dynamic SELECT TOP @var In SQL Server
- MySQL’s now() +1 day
- Can you access the auto increment value in MySQL within one statement?
- Generate script in SQL Server Management Studio
- Oracle SQL – Identify sequential value ranges
- ColdFusion adding extra quotes when constructing database queries in strings
- In SQL, is UPDATE always faster than DELETE+INSERT?
- How can I determine the status of a job?
- MySQL #1140 – Mixing of GROUP columns
- How can I select rows with most recent timestamp for each key value?
- postgresql – sql – count of `true` values
- unpivot with dynamic columns plus column names
- PostgreSQL where all in array
- How do I format date and time on ssrs report?
- In Oracle, is it possible to INSERT or UPDATE a record through a view?
- How to Execute SQL Query without Displaying results
- PostgreSQL – dynamic value as table name [duplicate]