Hello,
I'm running a query from another query [Qry-CertStat] but adding two more columns from two different tables related to that info [tbl-1-2-Estaciones] and [tbl-1-1-Subareas]
what I want is the rows of the query exactly as they appear but adding the corresponding value of the two columns added from tables, this is the SQL:
thanks for your time!
Code:
SELECT [Qry-CertStat].Estación, [Qry-CertStat].MaxOfFecha, [Qry-CertStat].Operador, [Qry-CertStat].DíasCert, [Qry-CertStat].Status, [Qry-CertStat].Due, [tbl-1-2-Estaciones].Subarea, [tbl-1-1-Subareas].Área
FROM ([tbl-1-1-Subareas] INNER JOIN [tbl-1-2-Estaciones] ON [tbl-1-1-Subareas].[Subarea] = [tbl-1-2-Estaciones].[Subarea]) INNER JOIN [Qry-CertStat] ON [tbl-1-2-Estaciones].[StationDescription] = [Qry-CertStat].[Estación];