0
Good morning!
I have two tables in access that present me CPF and value, but I am not able to join the two tables adding the amount. As I do not understand access, I am trying to make the query via SQL (which by the way I also do not have so much knowledge):
Ex.:
CPF (tabela1) CPF (tabela2)
---------------------- ----------------------
12345678910 10,00 12345678910 9,00
01987654321 20,00 01987654321 20,00
The query would actually subtract one field from the other and return anything other than zero. In the table example, he would have to show me the first line with the value of 1.00 and not bring the second line.
SELECT CPF, vlrTRAN
FROM Arqtxt
INNER JOIN Arqtxt2 ON Arqtxt.[CPF] = Arqtxt2.NumCpf;
Fixing code: SELECT CPF, vlrTRAN FROM Arqtxt INNER JOIN Arqtxt2 ON Arqtxt. [CPF] = Arqtxt2.Numcpf;
– Douglas Silva
you can edit the question (I already put this code in place of the other)
– rLinhares