1
I have two tables with the same field and I need to make a SELECT
with two conditions, I’m trying this code but is listing 2 times the result only from the first table (entrada
), nothing from the second table (saida
):
SELECT * FROM entrada, saida WHERE entrada.idUsuario = '1' OR saida.idUsuario = '1';