MB
Size: a a a
MB
П
MB
П
ac
MB
А
AY
А
АС
PC
select * from unnest(array[12, 34, 56]) where not exists (select attr from table where attr = unnest);
select * from unnest(array[12, 34, 56]) left join table t on t.attr = unnest where t.attr is null;
MB
PC
select t1.attr from unnest(array[12, 34, 56]) t1 (attr) left join lateral (select attr from "table" where attr = t1.attr) t2 on true where t2.attr is null;
AA
IA
IA
ch
IA
С
A