Is there a way to use 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 would like to put a WHERE status = "debitado"
where status
is in tbvendas