Unexpected RIGHT JOIN Behavior with Row-Value Comparisons in SQLite
Unexpected NULL Evaluations in RIGHT JOIN Queries with Row-Value Comparisons The core issue involves unexpected results when using row-value comparisons (e.g., (col1, col2) = (val1, val2)) in the WHERE clause of a RIGHT JOIN query. This manifests in two distinct but related scenarios: Inconsistent NULL Handling: A WHERE clause comparing a row-value expression to a…