Postgres en operador con valores separados por comas
select *
from DUALS
where num in (select unnest (string_to_array('1,2', ',')::integer[]))
Matteoweb
select *
from DUALS
where num in (select unnest (string_to_array('1,2', ',')::integer[]))