SELECT column1,column2,column3
FROM t1
WHERE (column1,column2,column3) IN
(SELECT column1,column2,column3 FROM t2);
But if there is null value, for example, column2 is NULL, I cannot use this row subquery to compare two tables, am I right?
So if there is null, how do you do that? use the left join on ... with nullif function?
Or use the left join with NULL-safe equal to operator?
I guess <=> is more clear.
Are there "null safe" IN () tricky codes? So I can still use row sunsubquery to compare two tables?
Thanks!