When using nested JOIN statements in SQL queries, the results are incorrect. For example:
SELECT * FROM table1 t1 JOIN table2 t2 ON t1.id = t2.id JOIN table3 t3 ON t2.id = t3.id
Returns duplicate rows that should not be present.
Expected behavior: Query should return correct joined results without duplicates.
Actual behavior: Duplicate rows appear in the result set.