4
There is a way to use one WHERE
to make a SELECT
with INNER JOIN
?
my case is this:
SELECT CodCli, NomeCli
FROM tbvendas
INNER JOIN tbclientes
ON tbvendas.CodCli = tbclientes.AutoCod
I’d like to put a WHERE status = "debitado"
where the column status
is in the tbvendas
It is possible to filter the
tbclientes
forwhere
same. TheAND
after theON
is to be used when condition is part of Inner Join.– Jéf Bueno