2
When I run the following Query:
SELECT
tbCelula.*
FROM
(((tbTiposMonitorizacao
INNER JOIN
tbMonitorizacaoProj ON tbTiposMonitorizacao.TM_ID = tbMonitorizacaoProj.MP_T_ID)
INNER JOIN
tbListaConformidades ON tbMonitorizacaoProj.MP_ID = tbListaConformidades.L_MP_ID)
INNER JOIN
tbCelula ON tbTiposMonitorizacao.TM_ID = tbCelula.C_TM_ID)
INNER JOIN
tbValores ON (tbListaConformidades.L_ID = tbValores.V_L_ID)
AND
(tbCelula.C_ID = tbValores.V_C_ID)
WHERE
(((tbListaConformidades.L_ID)=21));
The instruction does not return to me all the data I belong to consult.
Output:
Expected result:
The V_ID column is a primary key, so it cannot be empty. Because in the expected result some fields are with the empty primary key?
– antunesleo_