Well, I have two tables and I need to relate them. I'm doing it this way:
SELECT lancamentos .* FROM lancamentos
INNER JOIN clientes ON lancamentos.cliente_id = clientes.id
ORDER BY clientes.nome ASC
But I need to bring the name of the company that is in the clients table ... I am having a very difficult time ...