> Oh, my mistake, I forgot that the WHERE clause would filter out NULLs.
> Try
> SELECT * FROM t1 LEFT JOIN t2 ON (x = y) WHERE y <> 2 OR y IS NULL;
x y
1 1 3 NULL 4 4
Andreas
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
✖
By continuing to browse this website, you agree to the use of cookies. Go to Privacy Policy.