Are multiple JOINs unavailable when using ADODB to query an Excel file in a VBA procedure?
I have 3 sheets with data formatted as tables. The sheets names are "Riesgos", "Eventos" and "EventosRiesgos". EventosRiesgo has information relating events and risks (many to many relationship). I'm trying to get all the risks from Riesgos, but also the events related to the risks from (. I'm using ADODB to query the sheets as database tables and using the following SQL: SELECT * FROM [Riesgos$] r LEFT JOIN [EventosRiesgos$] er ON r.[Id]=er.[Id Riesgo] LEFT JOIN [Eventos$] e ON er.[Id Evento]=e.[Id] But i get an error, it's in Spanish but a rough translation would be: Syntax error (missing