1
I need to check if a data in Table 1 is represented in table 2
In the tabela1
ID | NOME | PARCELAS | DATA | NF
In the tabela2
ID | VALOR | PARCELA | VENCIMENTO | NF
SQL query with INNER JOIN
I may be mistaken in wanting to consult with inner join
what I need to know if the amount of launches the tabela2
and actually the amount of plots reported in the column parcelas
of tabela1
, example if in the tabela1
the column parcelas
is reporting 3 need to know if there really are 3 launches on tabela2
.
The consultation I performed and' this' but it is not bringing what I need.
SELECT *
FROM `tabela2`
INNER JOIN tabela1 ON ftabela2.NF =
tabela1.NF
WHERE fin_lancamentos.Qtde_Parcelas > 1