Good afternoon, I'm new to the group and wanted to know where I'm going wrong ...
I have a search on the database as well
**
SELECT * FROM Users INNER JOIN naturezanegocio ON Users.emaillogin = naturezanegocio.emaillogin
AND Users.paisorigem = '1'
AND Users.cidade = 'são paulo'
AND Users.estado = 'SP'
AND Users.numfuncionario > '0' < '10'
AND Users.registro = 'sim'
AND Users.investimento = 'sim'
AND Users.interesseparceria = 'sim'
AND Users.niveis_acesso_id = '0'
AND naturezanegocio.natureza IN ('2', '0', '0')
INNER JOIN tecnologia ON tecnologia.tecnologia IN ('5', '0', '0')
**
I need to return only the user who has all these requests, but it does not filter everything at once, but table by table that ends up returning me invalid users for not meeting all requirements ...
Where did I go wrong?