1
I have a main table with about 5,000 records, and I need to search for information in another table with 7,000 records.
But my query is returning +6,000:
SELECT principal.id, info.nome, info.endereco, principal.valor
FROM principal
LEFT JOIN info
ON info.usuario = principal.usuario
What can be happening?