I am trying to figure out why this query returns 0 rows as there is data in all 3 tables.
Here are my tables:
Table1: Applications Columns: ID, Name
Table2: Resources
Columns: ID, Name
Table3: ApplicationResourceBridge
Columns: ID, app_id, resource_id
And Here is the query
SELECT Resources.name
, ApplicationResourceBridge.resource_id AS Expr3
FROM Resources
INNER JOIN Applications
ON Resources.id = Applications.id
INNER JOIN ApplicationsResources
ON Resources.id = ApplicationResourceBridge.resource_id